Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 90247fe57c9c39b5693a2591f6e126a15bb96e6c..680f07a3683d75fbc55c2edcf7d61d526f0c4d1c 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -89,12 +89,6 @@ void LCodeGen::FinishCode(Handle<Code> code) { |
} |
-void LChunkBuilder::Abort(BailoutReason reason) { |
- info()->set_bailout_reason(reason); |
- status_ = ABORTED; |
-} |
- |
- |
void LCodeGen::SaveCallerDoubles() { |
ASSERT(info()->saves_caller_doubles()); |
ASSERT(NeedsEagerFrame()); |
@@ -4072,7 +4066,6 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { |
return; |
} |
- Handle<Map> transition = instr->transition(); |
SmiCheck check_needed = |
instr->hydrogen()->value()->IsHeapObject() |
? OMIT_SMI_CHECK : INLINE_SMI_CHECK; |
@@ -4090,15 +4083,17 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { |
check_needed = OMIT_SMI_CHECK; |
} |
} else if (representation.IsDouble()) { |
- ASSERT(transition.is_null()); |
ASSERT(access.IsInobject()); |
+ ASSERT(!instr->hydrogen()->has_transition()); |
ASSERT(!instr->hydrogen()->NeedsWriteBarrier()); |
DoubleRegister value = ToDoubleRegister(instr->value()); |
__ sdc1(value, FieldMemOperand(object, offset)); |
return; |
} |
- if (!transition.is_null()) { |
+ if (instr->hydrogen()->has_transition()) { |
+ Handle<Map> transition = instr->hydrogen()->transition_map(); |
+ AddDeprecationDependency(transition); |
__ li(scratch, Operand(transition)); |
__ sw(scratch, FieldMemOperand(object, HeapObject::kMapOffset)); |
if (instr->hydrogen()->NeedsWriteBarrierForMap()) { |