Index: src/builtins/arm64/builtins-arm64.cc |
diff --git a/src/builtins/arm64/builtins-arm64.cc b/src/builtins/arm64/builtins-arm64.cc |
index da9f7acd76169e4ebe49720fc77a72c4cb808018..842962c276dc08263daf16ec3b27992f4ad1d86f 100644 |
--- a/src/builtins/arm64/builtins-arm64.cc |
+++ b/src/builtins/arm64/builtins-arm64.cc |
@@ -2148,14 +2148,14 @@ void Builtins::Generate_ReflectConstruct(MacroAssembler* masm) { |
__ Bind(&target_not_constructor); |
{ |
__ Poke(target, 0); |
- __ TailCallRuntime(Runtime::kThrowCalledNonCallable); |
+ __ TailCallRuntime(Runtime::kThrowNotConstructor); |
} |
// 4c. The new.target is not a constructor, throw an appropriate TypeError. |
__ Bind(&new_target_not_constructor); |
{ |
__ Poke(new_target, 0); |
- __ TailCallRuntime(Runtime::kThrowCalledNonCallable); |
+ __ TailCallRuntime(Runtime::kThrowNotConstructor); |
} |
} |