Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 19bfecca8314d90a0eb9d84fb0df725202eb36e1..83567e95132b80dc63285fed89d9d086f5fdb4c5 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5150,7 +5150,7 @@ void LCodeGen::DoCheckFunction(LCheckFunction* instr) { |
AllowDeferredHandleDereference smi_check; |
if (isolate()->heap()->InNewSpace(*target)) { |
Register reg = ToRegister(instr->value()); |
- Handle<Cell> cell = isolate()->factory()->NewPropertyCell(target); |
+ Handle<Cell> cell = isolate()->factory()->NewCell(target); |
__ mov(ip, Operand(Handle<Object>(cell))); |
__ ldr(ip, FieldMemOperand(ip, Cell::kValueOffset)); |
__ cmp(reg, ip); |