Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 866351e9d967f33fd257ac62c7a67aafcbdf4010..c27b4cfc9617e864157938ce38c99e1016dce304 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -2298,12 +2298,12 @@ void BytecodeGenerator::VisitYield(Yield* expr) { |
Register input = register_allocator()->NewRegister(); |
builder() |
- ->CallRuntime(Runtime::kGeneratorGetInput, generator, 1) |
+ ->CallRuntime(Runtime::kInlineGeneratorGetInput, generator, 1) |
.StoreAccumulatorInRegister(input); |
Register resume_mode = register_allocator()->NewRegister(); |
builder() |
- ->CallRuntime(Runtime::kGeneratorGetResumeMode, generator, 1) |
+ ->CallRuntime(Runtime::kInlineGeneratorGetResumeMode, generator, 1) |
.StoreAccumulatorInRegister(resume_mode); |
// Now dispatch on resume mode. |
@@ -2330,7 +2330,7 @@ void BytecodeGenerator::VisitYield(Yield* expr) { |
->MoveRegister(input, value) |
.LoadTrue() |
.StoreAccumulatorInRegister(done) |
- .CallRuntime(Runtime::kCreateIterResultObject, value, 2); |
+ .CallRuntime(Runtime::kInlineCreateIterResultObject, value, 2); |
execution_control()->ReturnAccumulator(); |
} |