| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index 36e876dc22c19841d27f87bdadb9adf8df6c2f14..6def5e9ef1e817871fe8b4109b8edb0dbca5a832 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -4215,9 +4215,7 @@ void LCodeGen::DoCallNew(LCallNew* instr) {
|
| ASSERT(ToRegister(instr->result()).is(eax));
|
|
|
| // No cell in ebx for construct type feedback in optimized code
|
| - Handle<Object> megamorphic_symbol =
|
| - TypeFeedbackInfo::MegamorphicSentinel(isolate());
|
| - __ mov(ebx, Immediate(megamorphic_symbol));
|
| + __ mov(ebx, isolate()->factory()->undefined_value());
|
| CallConstructStub stub(NO_CALL_FUNCTION_FLAGS);
|
| __ Set(eax, Immediate(instr->arity()));
|
| CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr);
|
| @@ -4230,7 +4228,7 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) {
|
| ASSERT(ToRegister(instr->result()).is(eax));
|
|
|
| __ Set(eax, Immediate(instr->arity()));
|
| - __ mov(ebx, TypeFeedbackInfo::MegamorphicSentinel(isolate()));
|
| + __ mov(ebx, isolate()->factory()->undefined_value());
|
| ElementsKind kind = instr->hydrogen()->elements_kind();
|
| AllocationSiteOverrideMode override_mode =
|
| (AllocationSite::GetMode(kind) == TRACK_ALLOCATION_SITE)
|
|
|