Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 58f490e73201e1002dbd0f4fb89c5b18609e7eb9..361540e419ad4d42d88cf87eeb545d0283921d08 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -2234,7 +2234,7 @@ void BytecodeGenerator::VisitYield(Yield* expr) { |
Register input = register_allocator()->NewRegister(); |
builder() |
- ->CallRuntime(Runtime::kInlineGeneratorGetInput, generator, 1) |
+ ->CallRuntime(Runtime::kInlineGeneratorGetInputOrDebugPos, generator, 1) |
.StoreAccumulatorInRegister(input); |
Register resume_mode = register_allocator()->NewRegister(); |