Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index fefe1e46844afb06f030832e58452b60eddbfda1..bba1874f3c5afedb4b6ede55e4206cd3e5685973 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -3107,6 +3107,10 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ResumeJSGeneratorObject) { |
int offset = generator_object->continuation(); |
ASSERT(offset > 0); |
frame->set_pc(pc + offset); |
+ if (FLAG_enable_ool_constant_pool) { |
+ frame->set_constant_pool( |
+ generator_object->function()->code()->constant_pool()); |
+ } |
generator_object->set_continuation(JSGeneratorObject::kGeneratorExecuting); |
FixedArray* operand_stack = generator_object->operand_stack(); |