Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 8bb57400383dcbb6742571819874fb4f98c5f996..118aa1ca55da6c4cd43ab51da80d7632948bd81a 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1863,9 +1863,8 @@ LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { |
// want the value in a register. If the target gets promoted before we |
// emit code, we will still get the register but will do an immediate |
// compare instead of the cell compare. This is safe. |
- LOperand* value = Isolate::Current()->heap()->InNewSpace(*instr->target()) |
- ? UseRegisterAtStart(instr->value()) |
- : UseAtStart(instr->value()); |
+ LOperand* value = instr->target_in_new_space() |
+ ? UseRegisterAtStart(instr->value()) : UseAtStart(instr->value()); |
return AssignEnvironment(new(zone()) LCheckFunction(value)); |
} |
@@ -2160,9 +2159,7 @@ LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) { |
LInstruction* LChunkBuilder::DoTransitionElementsKind( |
HTransitionElementsKind* instr) { |
- ElementsKind from_kind = instr->original_map()->elements_kind(); |
- ElementsKind to_kind = instr->transitioned_map()->elements_kind(); |
- if (IsSimpleMapChangeTransition(from_kind, to_kind)) { |
+ if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { |
LOperand* object = UseRegister(instr->object()); |
LOperand* new_map_reg = TempRegister(); |
LOperand* temp_reg = TempRegister(); |
@@ -2451,8 +2448,8 @@ LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { |
instr->arguments_count(), |
instr->function(), |
undefined, |
- instr->call_kind(), |
- instr->inlining_kind()); |
+ instr->inlining_kind(), |
+ instr->undefined_receiver()); |
if (instr->arguments_var() != NULL) { |
inner->Bind(instr->arguments_var(), graph()->GetArgumentsObject()); |
} |