Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 2400bf009a6151cab55124fc55d0b191887bbac2..fb8f0d7332197fd5eee9c8f16a3f22763084ed21 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2098,9 +2098,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(); |
LTransitionElementsKind* result = |
@@ -2355,8 +2353,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()); |
} |