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()); |
+ } |
} |
} |