Index: src/ic/mips/handler-compiler-mips.cc |
diff --git a/src/ic/mips/handler-compiler-mips.cc b/src/ic/mips/handler-compiler-mips.cc |
index bc22ca278325f1734e97dafb7acf96b82ea5a132..0a37ed926f4bfe093049e9a83b3db8f38e9f4dc4 100644 |
--- a/src/ic/mips/handler-compiler-mips.cc |
+++ b/src/ic/mips/handler-compiler-mips.cc |
@@ -279,7 +279,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( |
Handle<CallHandlerInfo> api_call_info = optimization.api_call_info(); |
bool call_data_undefined = false; |
// Put call data in place. |
- if (api_call_info->data()->IsUndefined()) { |
+ if (api_call_info->data()->IsUndefined(isolate)) { |
call_data_undefined = true; |
__ LoadRoot(data, Heap::kUndefinedValueRootIndex); |
} else { |
@@ -631,7 +631,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreCallback( |
__ Push(receiver(), holder_reg); // Receiver. |
// If the callback cannot leak, then push the callback directly, |
// otherwise wrap it in a weak cell. |
- if (callback->data()->IsUndefined() || callback->data()->IsSmi()) { |
+ if (callback->data()->IsUndefined(isolate()) || callback->data()->IsSmi()) { |
__ li(at, Operand(callback)); |
} else { |
Handle<WeakCell> cell = isolate()->factory()->NewWeakCell(callback); |