Index: src/compiler/js-graph.cc |
diff --git a/src/compiler/js-graph.cc b/src/compiler/js-graph.cc |
index e11543d5a37a41c84afce85b399734d6dc2100b4..3f20daa3d174540aed830a7597ba2fde251e8ff3 100644 |
--- a/src/compiler/js-graph.cc |
+++ b/src/compiler/js-graph.cc |
@@ -120,11 +120,11 @@ Node* JSGraph::Constant(Handle<Object> value) { |
return Constant(value->Number()); |
} else if (value->IsUndefined(isolate())) { |
return UndefinedConstant(); |
- } else if (value->IsTrue()) { |
+ } else if (value->IsTrue(isolate())) { |
return TrueConstant(); |
- } else if (value->IsFalse()) { |
+ } else if (value->IsFalse(isolate())) { |
return FalseConstant(); |
- } else if (value->IsNull()) { |
+ } else if (value->IsNull(isolate())) { |
return NullConstant(); |
} else if (value->IsTheHole(isolate())) { |
return TheHoleConstant(); |