Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 457affec184e22bf1d7f385ca8d4a41a8d0e66d8..7e7fd125a2f36673e372b314c3f46a6024c93f42 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7396,6 +7396,11 @@ class JSFunction: public JSObject { |
// The function's name if it is configured, otherwise shared function info |
// debug name. |
+ static Handle<String> GetName(Handle<JSFunction> function); |
+ |
+ // 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); |
// Layout descriptors. The last property (from kNonWeakFieldsEndOffset to |