summaryrefslogtreecommitdiff
path: root/deps/v8/src/arm/codegen-arm.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-06-28 08:47:01 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-06-28 08:47:01 -0700
commit5a25338ac08ff9ab7656f91a67f06491e5cf8431 (patch)
tree40c99588d9ccab8d0ea989e9d8d177fd35b978b7 /deps/v8/src/arm/codegen-arm.h
parent67f7fe5e5c210f42fd3c27809a97245b4eb242f9 (diff)
downloadnode-new-5a25338ac08ff9ab7656f91a67f06491e5cf8431.tar.gz
Upgrade V8 to 2.2.20
Diffstat (limited to 'deps/v8/src/arm/codegen-arm.h')
-rw-r--r--deps/v8/src/arm/codegen-arm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/src/arm/codegen-arm.h b/deps/v8/src/arm/codegen-arm.h
index be4d556196..925d2675e1 100644
--- a/deps/v8/src/arm/codegen-arm.h
+++ b/deps/v8/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: