| Index: src/builtins/ia32/builtins-ia32.cc
|
| diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc
|
| index 0f5b452dc3c44946f80688d3c106d4d1a709fa55..b37b2719bb6da1af4c3cfc830b1edd403349bc51 100644
|
| --- a/src/builtins/ia32/builtins-ia32.cc
|
| +++ b/src/builtins/ia32/builtins-ia32.cc
|
| @@ -1615,14 +1615,14 @@ void Builtins::Generate_ReflectConstruct(MacroAssembler* masm) {
|
| __ bind(&target_not_constructor);
|
| {
|
| __ mov(Operand(esp, kPointerSize), edi);
|
| - __ TailCallRuntime(Runtime::kThrowCalledNonCallable);
|
| + __ TailCallRuntime(Runtime::kNotConstructor);
|
| }
|
|
|
| // 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::kNotConstructor);
|
| }
|
| }
|
|
|
|
|