| Index: src/builtins/ia32/builtins-ia32.cc
|
| diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc
|
| index d1b327b883a29f950f98358bb9e706a9b26bb8ed..16f1bf2cc63c6e5f94fd8e5edea7e1394d317e27 100644
|
| --- a/src/builtins/ia32/builtins-ia32.cc
|
| +++ b/src/builtins/ia32/builtins-ia32.cc
|
| @@ -1650,14 +1650,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);
|
| }
|
| }
|
|
|
|
|