Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 6f4591baf7efb10bf95f93cab52dd52bd75f168c..548d93b8447446e9d187dd81574ea854a64c6381 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7410,6 +7410,10 @@ class JSFunction: public JSObject { |
// debug name. |
static Handle<String> GetDebugName(Handle<JSFunction> function); |
+ // The function's string representation implemented according to |
+ // ES6 section 19.2.3.5 Function.prototype.toString ( ). |
+ static Handle<String> ToString(Handle<JSFunction> function); |
+ |
// Layout descriptors. The last property (from kNonWeakFieldsEndOffset to |
// kSize) is weak and has special handling during garbage collection. |
static const int kPrototypeOrInitialMapOffset = JSObject::kHeaderSize; |