Index: src/runtime/runtime-generator.cc |
diff --git a/src/runtime/runtime-generator.cc b/src/runtime/runtime-generator.cc |
index d8b084431bad077521284d54ac2460d65161dd86..f80fa271502feee4e7cda2d80755b18bbbd46e84 100644 |
--- a/src/runtime/runtime-generator.cc |
+++ b/src/runtime/runtime-generator.cc |
@@ -111,7 +111,7 @@ RUNTIME_FUNCTION(Runtime_ResumeJSGeneratorObject) { |
int offset = generator_object->continuation(); |
DCHECK(offset > 0); |
frame->set_pc(pc + offset); |
- if (FLAG_enable_ool_constant_pool) { |
+ if (FLAG_enable_ool_constant_pool || FLAG_enable_embedded_constant_pool) { |
frame->set_constant_pool( |
generator_object->function()->code()->constant_pool()); |
} |