Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index d4755a6dde21d19ea87595b03e32f4bf4747e1dd..dd13d9fc646307426d6697776a27f1bf0bbebb4a 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -2157,7 +2157,7 @@ void BytecodeGenerator::VisitNewTargetVariable(Variable* variable) { |
if (variable == nullptr) return; |
// Store the new target we were called with in the given variable. |
- builder()->CallRuntime(Runtime::kGetNewTarget, Register(), 0); |
+ builder()->LoadAccumulatorWithRegister(Register::new_target()); |
VisitVariableAssignment(variable, FeedbackVectorSlot::Invalid()); |
} |