aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/Optimizer.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/compiler/codegen/Optimizer.h
parent06f4a19f3c6d6503e936d252fb80d6ca57b29392 (diff)
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/compiler/codegen/Optimizer.h')
0 files changed, 0 insertions, 0 deletions