Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index ab2febb49cf3397d4ed6b871b25a7d20d9534dce..fd4000be7f63754a26b8bee419e078de2b42a9cd 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -4309,8 +4309,8 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
Handle<Map> from_map = instr->original_map(); |
Handle<Map> to_map = instr->transitioned_map(); |
- ElementsKind from_kind = from_map->elements_kind(); |
- ElementsKind to_kind = to_map->elements_kind(); |
+ ElementsKind from_kind = instr->from_kind(); |
+ ElementsKind to_kind = instr->to_kind(); |
Label not_applicable; |
bool is_simple_map_transition = |
@@ -5072,7 +5072,7 @@ void LCodeGen::DoCheckInstanceType(LCheckInstanceType* instr) { |
void LCodeGen::DoCheckFunction(LCheckFunction* instr) { |
Handle<JSFunction> target = instr->hydrogen()->target(); |
- if (isolate()->heap()->InNewSpace(*target)) { |
+ if (instr->hydrogen()->target_in_new_space()) { |
Register reg = ToRegister(instr->value()); |
Handle<JSGlobalPropertyCell> cell = |
isolate()->factory()->NewJSGlobalPropertyCell(target); |