| Index: src/builtins/arm64/builtins-arm64.cc
|
| diff --git a/src/builtins/arm64/builtins-arm64.cc b/src/builtins/arm64/builtins-arm64.cc
|
| index a57e80abc830d851efb55c952abd362f5d0db9de..e546a89ed8b6ac98726e080bb3c5f31285594770 100644
|
| --- a/src/builtins/arm64/builtins-arm64.cc
|
| +++ b/src/builtins/arm64/builtins-arm64.cc
|
| @@ -2114,14 +2114,14 @@ void Builtins::Generate_ReflectConstruct(MacroAssembler* masm) {
|
| __ Bind(&target_not_constructor);
|
| {
|
| __ Poke(target, 0);
|
| - __ TailCallRuntime(Runtime::kThrowCalledNonCallable);
|
| + __ TailCallRuntime(Runtime::kNotConstructor);
|
| }
|
|
|
| // 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::kNotConstructor);
|
| }
|
| }
|
|
|
|
|