Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index b1ca96503c7cae3370b6223f480df11aa8dabeda..34ff1fa82e1db7156f59e7d187842f779d355fac 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -5121,7 +5121,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); |
__ li(at, Operand(Handle<Object>(cell))); |
__ lw(at, FieldMemOperand(at, Cell::kValueOffset)); |
DeoptimizeIf(ne, instr->environment(), reg, |