Index: src/arm/codegen-arm.h |
diff --git a/src/arm/codegen-arm.h b/src/arm/codegen-arm.h |
index be4d556196a2bd2bf41dc3a35ab75c4a450b5573..925d2675e100dc4a5d5210d121297c361c741255 100644 |
--- a/src/arm/codegen-arm.h |
+++ b/src/arm/codegen-arm.h |
@@ -276,7 +276,9 @@ class CodeGenerator: public AstVisitor { |
static int InlineRuntimeCallArgumentsCount(Handle<String> name); |
// Constants related to patching of inlined load/store. |
- static const int kInlinedKeyedLoadInstructionsAfterPatch = 17; |
+ static int GetInlinedKeyedLoadInstructionsAfterPatch() { |
+ return FLAG_debug_code ? 27 : 13; |
+ } |
static const int kInlinedKeyedStoreInstructionsAfterPatch = 5; |
private: |