Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index e89efdf471a5d624595e45acf7c074a824bc66a2..0c9afd7f474ba267b6506cf9a9e683df031a2fe8 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7492,6 +7492,9 @@ class JSFunction: public JSObject { |
// Tells whether this function is builtin. |
inline bool IsBuiltin(); |
+ // Tells whether this function is defined in a native script. |
+ inline bool IsNative(); |
+ |
// Tells whether or not the function needs arguments adaption. |
inline bool NeedsArgumentsAdaption(); |