Re: ObjC: get rid of temporary tree list when compiling a method

2011-04-12 Thread Mike Stump
On Apr 12, 2011, at 11:37 AM, Nicola Pero wrote: > This fixes another small inefficiency in the Objective-C compiler. > > It's more about cleaning up the codebase and migrating it from Lisp to C. You do know that we are reimplementing gcc in lisp, right? ^L It's a joke, just a joke. > Ok to

ObjC: get rid of temporary tree list when compiling a method

2011-04-12 Thread Nicola Pero
This fixes another small inefficiency in the Objective-C compiler. When a method invocation is found, and the parser calls objc_build_method_expr() to compile it, it used to invoke it as in objc_build_message_expr (build_tree_list (rec, args)); this (trivial) patch removes the need to create t