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

Unified Diff: src/isolate.cc

Issue 1424703005: Remove JSBuiltinsObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index f50c2fad876a7c8898ce1dc56451166e73815dd6..feb0af21a5f8d7d2612b2c34459006b94ee89803 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -316,9 +316,8 @@ static bool IsVisibleInStackTrace(JSFunction* fun,
// exposed, in which case the native flag is set.
// The --builtins-in-stack-traces command line flag allows including
// internal call sites in the stack trace for debugging purposes.
- if (!FLAG_builtins_in_stack_traces) {
- if (receiver->IsJSBuiltinsObject()) return false;
- if (fun->IsBuiltin()) return fun->shared()->native();
+ if (!FLAG_builtins_in_stack_traces && fun->IsBuiltin()) {
+ return fun->shared()->native();
}
return true;
}

Powered by Google App Engine
This is Rietveld 408576698