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

Unified Diff: src/string-stream.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/runtime/runtime-utils.h ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/string-stream.cc
diff --git a/src/string-stream.cc b/src/string-stream.cc
index 86aaac5ce0d4e26979e318459cb3c8db26a551d7..6e61c372d1119c8eeea7f02f85b8cdc050df650b 100644
--- a/src/string-stream.cc
+++ b/src/string-stream.cc
@@ -527,7 +527,7 @@
Object* name = fun->shared()->name();
bool print_name = false;
Isolate* isolate = fun->GetIsolate();
- if (receiver->IsNull(isolate) || receiver->IsUndefined(isolate) ||
+ if (receiver->IsNull() || receiver->IsUndefined(isolate) ||
receiver->IsJSProxy()) {
print_name = true;
} else if (isolate->context() != nullptr) {
« no previous file with comments | « src/runtime/runtime-utils.h ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698