summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2013-11-19 10:51:03 +0000
committer Narayan Kamath <narayan@google.com> 2013-11-19 11:21:10 +0000
commitba9ece9c58de90b39c39b29dbdaee54b1654c066 (patch)
treefb4c30818c3457d08977c48c631f84e6e8c16a97 /compiler
parentbb2f8042375e9e0f11e1629da58d5648ab1d45f5 (diff)
Fix inlining for String.indexOf / String.isEmpty.
Before vs After: Equals URI 1544014.6 ============================== Equals URI 992997.6 ======================== bug: 11551453 Change-Id: I41045fda59b4c69a209d6b895dc7c2bdd1fc4e89
Diffstat (limited to 'compiler')
-rw-r--r--compiler/dex/quick/dex_file_method_inliner.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/dex/quick/dex_file_method_inliner.cc b/compiler/dex/quick/dex_file_method_inliner.cc
index 4d3e3da23d..6a760fa295 100644
--- a/compiler/dex/quick/dex_file_method_inliner.cc
+++ b/compiler/dex/quick/dex_file_method_inliner.cc
@@ -58,8 +58,8 @@ const char* DexFileMethodInliner::kNameCacheNames[] = {
"sqrt", // kNameCacheSqrt
"charAt", // kNameCacheCharAt
"compareTo", // kNameCacheCompareTo
- "is_empty", // kNameCacheIsEmpty
- "index_of", // kNameCacheIndexOf
+ "isEmpty", // kNameCacheIsEmpty
+ "indexOf", // kNameCacheIndexOf
"length", // kNameCacheLength
"currentThread", // kNameCacheCurrentThread
"peekByte", // kNameCachePeekByte