Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index d1673c3e740842711680fab5f2ffcd3a5c2da88f..1a81fb11842d847822e18cff06212e5e13dce4f3 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -441,11 +441,11 @@ |
if (quote) Print("\""); |
Print("%s", String::cast(object)->ToCString().get()); |
if (quote) Print("\""); |
- } else if (object->IsNull(isolate_)) { |
+ } else if (object->IsNull()) { |
Print("null"); |
- } else if (object->IsTrue(isolate_)) { |
+ } else if (object->IsTrue()) { |
Print("true"); |
- } else if (object->IsFalse(isolate_)) { |
+ } else if (object->IsFalse()) { |
Print("false"); |
} else if (object->IsUndefined(isolate_)) { |
Print("undefined"); |
@@ -1069,11 +1069,11 @@ |
Print("%c", string->Get(i)); |
} |
if (quote) Print("\""); |
- } else if (object->IsNull(isolate_)) { |
+ } else if (object->IsNull()) { |
Print("null"); |
- } else if (object->IsTrue(isolate_)) { |
+ } else if (object->IsTrue()) { |
Print("true"); |
- } else if (object->IsFalse(isolate_)) { |
+ } else if (object->IsFalse()) { |
Print("false"); |
} else if (object->IsUndefined(isolate_)) { |
Print("undefined"); |