Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 76b64f6bb532ac581034b760c37390aa82751909..c42e0e134b1e69b6f79e4779ad3e4f5429405d3e 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7605,6 +7605,10 @@ 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 |
+ // debug name. |
+ static Handle<String> GetDebugName(Handle<JSFunction> function); |
+ |
// Layout descriptors. The last property (from kNonWeakFieldsEndOffset to |
// kSize) is weak and has special handling during garbage collection. |
static const int kCodeEntryOffset = JSObject::kHeaderSize; |