This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: question about interpreter
- To: tromey at cygnus dot com
- Subject: Re: question about interpreter
- From: Jeff Sturm <jsturm at sigma6 dot com>
- Date: Mon, 10 Jan 2000 19:44:10 -0500
- CC: Java Discuss List <java-discuss at sourceware dot cygnus dot com>, Kresten Krab Thorup <krab at gnu dot org>
- Organization: AppNet
- References: <873ds58z2c.fsf@cygnus.com>
Tom Tromey wrote:
> #define LOADL(I) ({ jint __idx = (I); \
> (sp++)->ia[0] = locals[__idx].ia[0]; \
> (sp++)->ia[0] = locals[__idx+1].ia[0]; \
> })
Why not use inline functions instead? C++ was supposed to eliminate the
preprocessor for most uses. These macros aren't used in any C code,
after all...
--
Jeff Sturm
jsturm@sigma6.com