Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The following code :
void m() { int i=0 }
will generate bytecode like this:
ICONST_0 ISTORE 1 ILOAD 1 ISTORE 2 ILOAD 2
although everything could "fit" into a single slot :
ICONST_0 ISTORE 1 ILOAD 1