Revision: 22701
Author: [email protected]
Date: Wed Jul 30 10:31:57 2014 UTC
Log: Fix for constant pool support and debug
RedirectActivationsToRecompiledCodeOnThread must also patch frame's
constant pool.
Reference: https://github.com/andrewlow/v8ppc/commit/329d72fd
BUG=
[email protected]
Review URL: https://codereview.chromium.org/430523002
Patch from Andrew Low <[email protected]>.
http://code.google.com/p/v8/source/detail?r=22701
Modified:
/branches/bleeding_edge/src/debug.cc
=======================================
--- /branches/bleeding_edge/src/debug.cc Wed Jul 23 09:49:00 2014 UTC
+++ /branches/bleeding_edge/src/debug.cc Wed Jul 30 10:31:57 2014 UTC
@@ -1889,6 +1889,11 @@
reinterpret_cast<intptr_t>(frame->pc()),
reinterpret_cast<intptr_t>(new_pc));
}
+
+ if (FLAG_enable_ool_constant_pool) {
+ // Update constant pool pointer for new code.
+ frame->set_constant_pool(new_code->constant_pool());
+ }
// Patch the return address to return into the code with
// debug break slots.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.