Index: src/arm/regexp-macro-assembler-arm.cc |
=================================================================== |
--- src/arm/regexp-macro-assembler-arm.cc (revision 3946) |
+++ src/arm/regexp-macro-assembler-arm.cc (working copy) |
@@ -765,7 +765,7 @@ |
Label grow_failed; |
// Call GrowStack(backtrack_stackpointer()) |
- int num_arguments = 2; |
+ static const int num_arguments = 2; |
FrameAlign(num_arguments, r0); |
__ mov(r0, backtrack_stackpointer()); |
__ add(r1, frame_pointer(), Operand(kStackHighEnd)); |
@@ -966,7 +966,7 @@ |
// Private methods: |
void RegExpMacroAssemblerARM::CallCheckStackGuardState(Register scratch) { |
- int num_arguments = 3; |
+ static const int num_arguments = 3; |
FrameAlign(num_arguments, scratch); |
// RegExp code frame pointer. |
__ mov(r2, frame_pointer()); |