Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: src/ast/prettyprinter.cc

Issue 2060213002: Revert of Replace all remaining Oddball checks with new function (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ast/ast.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « src/ast/ast.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698