summaryrefslogtreecommitdiffstats
path: root/vm/DalvikVersion.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-09-02 18:07:23 -0700
committerAndy McFadden <fadden@android.com>2009-09-03 12:22:51 -0700
commit59a434629ba06d4decf7bc88a62ae370a1935f0e (patch)
tree3b53b83996a3f8057f75716d84c74cb7acd23d67 /vm/DalvikVersion.h
parent06f4a19f3c6d6503e936d252fb80d6ca57b29392 (diff)
downloadandroid_dalvik-59a434629ba06d4decf7bc88a62ae370a1935f0e.tar.gz
android_dalvik-59a434629ba06d4decf7bc88a62ae370a1935f0e.tar.bz2
android_dalvik-59a434629ba06d4decf7bc88a62ae370a1935f0e.zip
Add inline version of String.indexOf().
This provides an inline-native version of String.indexOf(int) and String.indexOf(int, int), i.e. the functions that work like strchr(). Has a fairly solid impact on specific benchmarks. Might give a boost to an app somewhere. Added some indexOf tests to 020-string. Added hard-coded field offsets for String. These are verified during startup. Improves some of our String micro-benchmarks by ~10%.
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 efbb39327..dfc95ce19 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 17
+#define DALVIK_VM_BUILD 18
#endif /*_DALVIK_VERSION*/