Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 81c22e2ba95babf6f7b2165fc1132256b3107b29..55ae5349c38dadd307139634e09a757e2f85736a 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -5792,15 +5792,15 @@ void LCodeGen::DoCheckInstanceType(LCheckInstanceType* instr) { |
} |
-void LCodeGen::DoCheckFunction(LCheckFunction* instr) { |
- Handle<JSFunction> target = instr->hydrogen()->target(); |
- if (instr->hydrogen()->target_in_new_space()) { |
+void LCodeGen::DoCheckValue(LCheckValue* instr) { |
+ Handle<HeapObject> object = instr->hydrogen()->object(); |
+ if (instr->hydrogen()->object_in_new_space()) { |
Register reg = ToRegister(instr->value()); |
- Handle<Cell> cell = isolate()->factory()->NewCell(target); |
+ Handle<Cell> cell = isolate()->factory()->NewCell(object); |
__ cmp(reg, Operand::ForCell(cell)); |
} else { |
Operand operand = ToOperand(instr->value()); |
- __ cmp(operand, target); |
+ __ cmp(operand, object); |
} |
DeoptimizeIf(not_equal, instr->environment()); |
} |