Reviewers: ,
Description:
Fix for constant pool support and debug
RedirectActivationsToRecompiledCodeOnThread must also patch frame's
constant pool.
Reference: https://github.com/andrewlow/v8ppc/commit/329d72fd
BUG=
Please review this at https://codereview.chromium.org/430523002/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+3, -0 lines):
M src/debug.cc
Index: src/debug.cc
diff --git a/src/debug.cc b/src/debug.cc
index
3586a1836db64cf8ae8f721af0b6bdf33bbd5982..7b6580266166ec40dae96c91ed2219acc311c590
100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -1893,6 +1893,9 @@ static void
RedirectActivationsToRecompiledCodeOnThread(
// Patch the return address to return into the code with
// debug break slots.
frame->set_pc(new_pc);
+ if (FLAG_enable_ool_constant_pool) {
+ frame->set_constant_pool(new_code->constant_pool());
+ }
}
}
--
--
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.