Index: src/ia32/regexp-macro-assembler-ia32.cc |
diff --git a/src/ia32/regexp-macro-assembler-ia32.cc b/src/ia32/regexp-macro-assembler-ia32.cc |
index 7d7de0ef44fb7d61b87080ae968aee9fdbbcaa3e..d175d9e03667514f9ebda73216c12262a3404ea2 100644 |
--- a/src/ia32/regexp-macro-assembler-ia32.cc |
+++ b/src/ia32/regexp-macro-assembler-ia32.cc |
@@ -1080,7 +1080,7 @@ int RegExpMacroAssemblerIA32::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; |
} |