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

Unified Diff: src/messages.cc

Issue 1713663002: Revert of Use displayName in Error.stack rendering if present. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/messages.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.cc
diff --git a/src/messages.cc b/src/messages.cc
index bb75364ddb83c25b1c198d4714036661b0fca09d..072ac1d5a694a41f7d33a21363cf114ee29ca05e 100644
--- a/src/messages.cc
+++ b/src/messages.cc
@@ -191,14 +191,6 @@
return isolate_->factory()->null_value();
}
-Handle<Object> CallSite::GetDebugName() {
- Handle<Object> name = JSReceiver::GetDataProperty(
- fun_, isolate_->factory()->display_name_string());
- if (name->IsString() && String::cast(*name)->length() != 0) {
- return Handle<String>::cast(name);
- }
- return isolate_->factory()->null_value();
-}
Handle<Object> CallSite::GetScriptNameOrSourceUrl() {
Handle<Object> script_obj(fun_->shared()->script(), isolate_);
« no previous file with comments | « src/messages.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698