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

Unified Diff: src/objects.h

Issue 1449473005: [V8] Unify get function name for debugging purpose (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
« src/debug/mirrors.js ('K') | « src/heap/heap.h ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 457affec184e22bf1d7f385ca8d4a41a8d0e66d8..18e9730029b882091e856ba09d67f6e0bce84061 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7394,7 +7394,8 @@ class JSFunction: public JSObject {
// Used for flags such as --hydrogen-filter.
bool PassesFilter(const char* raw_filter);
- // The function's name if it is configured, otherwise shared function info
+ // The function's displayName if it is set, otherwise name if it is
+ // configured, otherwise shared function info
// debug name.
static Handle<String> GetDebugName(Handle<JSFunction> function);
« src/debug/mirrors.js ('K') | « src/heap/heap.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698