Index: src/arm/regexp-macro-assembler-arm.cc |
diff --git a/src/arm/regexp-macro-assembler-arm.cc b/src/arm/regexp-macro-assembler-arm.cc |
index 81645c72eac8c32aca1901c014bc578a8724f013..cd76edbf15e7ad2d5a76d2f21397a4eff86067f7 100644 |
--- a/src/arm/regexp-macro-assembler-arm.cc |
+++ b/src/arm/regexp-macro-assembler-arm.cc |
@@ -1049,7 +1049,7 @@ int RegExpMacroAssemblerARM::CheckStackGuardState(Address* return_address, |
MaybeObject* result = Execution::HandleStackGuardInterrupt(); |
if (*code_handle != re_code) { // Return address no longer valid |
- int delta = *code_handle - re_code; |
+ int delta = code_handle->address() - re_code->address(); |
// Overwrite the return address on the stack. |
*return_address += delta; |
} |