| Index: src/ia32/builtins-ia32.cc
|
| diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc
|
| index 9c61c5f7ee1b48eca24846fe0335deef711f4db4..073f4b6a4619ad1e0e3ed1549b85d3fe051a4726 100644
|
| --- a/src/ia32/builtins-ia32.cc
|
| +++ b/src/ia32/builtins-ia32.cc
|
| @@ -363,8 +363,8 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm,
|
| __ JumpIfSmi(eax, &use_receiver);
|
|
|
| // If the type of the result (stored in its map) is less than
|
| - // FIRST_SPEC_OBJECT_TYPE, it is not an object in the ECMA sense.
|
| - __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ecx);
|
| + // FIRST_JS_RECEIVER_TYPE, it is not an object in the ECMA sense.
|
| + __ CmpObjectType(eax, FIRST_JS_RECEIVER_TYPE, ecx);
|
| __ j(above_equal, &exit);
|
|
|
| // Throw away the result of the constructor invocation and use the
|
|
|