summaryrefslogtreecommitdiffstats
path: root/vm/DalvikVersion.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-06-17 12:36:00 -0700
committerAndy McFadden <fadden@android.com>2010-06-18 12:43:08 -0700
commitc35a2ef53d0cccd6f924eeba36633220ec67c32e (patch)
tree3dca5c629067edc9f6968d11b91621198de18387 /vm/DalvikVersion.h
parent54c91f8f33fc12d741aaa0dcdb375991e252c994 (diff)
downloadandroid_dalvik-c35a2ef53d0cccd6f924eeba36633220ec67c32e.tar.gz
android_dalvik-c35a2ef53d0cccd6f924eeba36633220ec67c32e.tar.bz2
android_dalvik-c35a2ef53d0cccd6f924eeba36633220ec67c32e.zip
Add opcodes for volatile field accesses
This adds instructions for {i,s}{get,put}{,-object}-volatile, for a total of eight new instructions. On SMP systems, these instructions will be substituted in for existing field access instructions, either by dexopt or during just-in-time verification. Unlike the wide-volatile instructions, these will not be used at all when the VM is not built for SMP. (Ideally we'd omit the volatile instruction implementations entirely on non-SMP builds, but that requires a little work in gen-mterp.py.) The change defines and implements the opcodes and support methods, but does not cause them to be used. Also, changed dvmQuasiAtomicRead64's argument to be const. Change-Id: I9e44fe881e87f27aa41f6c6e898ec4402cb5493e
Diffstat (limited to 'vm/DalvikVersion.h')
-rw-r--r--vm/DalvikVersion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/DalvikVersion.h b/vm/DalvikVersion.h
index 97976ddfd..3bc37b081 100644
--- a/vm/DalvikVersion.h
+++ b/vm/DalvikVersion.h
@@ -32,6 +32,6 @@
* way classes load changes, e.g. field ordering or vtable layout. Changing
* this guarantees that the optimized form of the DEX file is regenerated.
*/
-#define DALVIK_VM_BUILD 22
+#define DALVIK_VM_BUILD 23
#endif /*_DALVIK_VERSION*/