i++ in Java

Eddy Truyen <eddy@mip.sdu.dk>
5 Feb 2000 18:55:24 -0500

          From comp.compilers

Related articles
i++ in Java eddy@mip.sdu.dk (Eddy Truyen) (2000-02-05)
Re: i++ in Java scarroll@csrd.uiuc.edu (Steven Carroll) (2000-02-05)
Re: i++ in Java eddy@mip.sdu.dk (Eddy Truyen) (2000-02-10)
Re: i++ in Java eddy@mip.sdu.dk (Eddy Truyen) (2000-02-10)
| List of all articles for this month |
From: Eddy Truyen <eddy@mip.sdu.dk>
Newsgroups: comp.compilers
Date: 5 Feb 2000 18:55:24 -0500
Organization: UNI-C
Keywords: Java, optimize, question

Hi there,


javac compiles statements like i++, i-- and similar to optimized byte
code. This means that the resulting bytecodes are not the same when
compiling i=i+1;
Is their anyway to turn this off?
I looked and at first glance their seems to be an option -O to optimize
the compiler, but no option that leads to compiling only 'clean' code
without dupx statements that insert elements within the Java stack


Tnx,


Eddy Truyen


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.