Index: src/arm/regexp-macro-assembler-arm.h |
diff --git a/src/arm/regexp-macro-assembler-arm.h b/src/arm/regexp-macro-assembler-arm.h |
index 14f984f567dc76eeeb220a134c410a61d75d7103..e022fd4d31b21907643ebea54df882943ae2a446 100644 |
--- a/src/arm/regexp-macro-assembler-arm.h |
+++ b/src/arm/regexp-macro-assembler-arm.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2006-2008 the V8 project authors. All rights reserved. |
+// Copyright 2012 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -137,7 +137,8 @@ class RegExpMacroAssemblerARM: public NativeRegExpMacroAssembler { |
static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize; |
// Stack parameters placed by caller. |
static const int kRegisterOutput = kSecondaryReturnAddress + kPointerSize; |
- static const int kStackHighEnd = kRegisterOutput + kPointerSize; |
+ static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; |
+ static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; |
static const int kDirectCall = kStackHighEnd + kPointerSize; |
static const int kIsolate = kDirectCall + kPointerSize; |
@@ -149,7 +150,8 @@ class RegExpMacroAssemblerARM: public NativeRegExpMacroAssembler { |
static const int kInputString = kStartIndex - kPointerSize; |
// When adding local variables remember to push space for them in |
// the frame in GetCode. |
- static const int kInputStartMinusOne = kInputString - kPointerSize; |
+ static const int kSuccessfulCaptures = kInputString - kPointerSize; |
+ static const int kInputStartMinusOne = kSuccessfulCaptures - kPointerSize; |
static const int kAtStart = kInputStartMinusOne - kPointerSize; |
// First register address. Following registers are below it on the stack. |
static const int kRegisterZero = kAtStart - kPointerSize; |