Revision: 9074
Author: [email protected]
Date: Wed Aug 31 00:32:47 2011
Log: MIPS: port Fix for a possible bug in RegExp stack guard.
Ported r9058 (43f127bd)
BUG=
TEST=
Review URL: http://codereview.chromium.org/7776027
http://code.google.com/p/v8/source/detail?r=9074
Modified:
/branches/bleeding_edge/src/mips/regexp-macro-assembler-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/regexp-macro-assembler-mips.cc Mon Aug
29 02:36:58 2011
+++ /branches/bleeding_edge/src/mips/regexp-macro-assembler-mips.cc Wed Aug
31 00:32:47 2011
@@ -1050,7 +1050,7 @@
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;
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev