Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index c31de81ebabdbd44c2363163357db91be191d0f9..fba2318081c4cfec5f131208a0ca887240559931 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2039,9 +2039,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(); |
@@ -2299,8 +2297,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()); |
} |