OSDN Git Service

Replace jumbo opcodes in certain circumstances
authorAndy McFadden <fadden@android.com>
Sat, 12 Mar 2011 01:05:33 +0000 (17:05 -0800)
committerAndy McFadden <fadden@android.com>
Mon, 14 Mar 2011 22:36:04 +0000 (15:36 -0700)
commit71c1771a0ca30b09653de88f6a9c714dec7a61b7
treec901d06e25e557c256800e1b122457fb5687a410
parent8f28ebb65f231d2134f52f5d140d8524f7b85ed7
Replace jumbo opcodes in certain circumstances

With this change we will start using some dexopt-generated "jumbo"
opcodes for volatile field accesses and calls to Object.<init>.  These
are necessary for correctness.

Fixed a bug that could prevent volatile fields in huge objects from
being handled correctly.

Also, return "void" from some functions whose return value is never
examined.

Change-Id: I2a7fc66b59953ed3a6f4ac507873101de5d101d5
tests/089-jumbo-opcodes/src/Main.java
vm/analysis/Optimize.c