| Index: src/builtins/x87/builtins-x87.cc
|
| diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc
|
| index 9ac8b5642400b00182acc212902f646653f97e66..c36a7e2c5050998a0d82a3c1a7c7d79b095221ae 100644
|
| --- a/src/builtins/x87/builtins-x87.cc
|
| +++ b/src/builtins/x87/builtins-x87.cc
|
| @@ -1617,14 +1617,14 @@ void Builtins::Generate_ReflectConstruct(MacroAssembler* masm) {
|
| __ bind(&target_not_constructor);
|
| {
|
| __ mov(Operand(esp, kPointerSize), edi);
|
| - __ TailCallRuntime(Runtime::kThrowCalledNonCallable);
|
| + __ TailCallRuntime(Runtime::kThrowNotConstructor);
|
| }
|
|
|
| // 4c. The new.target is not a constructor, throw an appropriate TypeError.
|
| __ bind(&new_target_not_constructor);
|
| {
|
| __ mov(Operand(esp, kPointerSize), edx);
|
| - __ TailCallRuntime(Runtime::kThrowCalledNonCallable);
|
| + __ TailCallRuntime(Runtime::kThrowNotConstructor);
|
| }
|
| }
|
|
|
|
|