Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 2c8754aa8b55a915895e008001b39d00cafdc399..558d3fa2645c972922cc201d6235f2ba207e02f8 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6829,6 +6829,9 @@ class SharedFunctionInfo: public HeapObject { |
// The function's name if it is non-empty, otherwise the inferred name. |
String* DebugName(); |
+ // Used for flags such as --hydrogen-filter. |
+ bool PassesFilter(const char* raw_filter); |
+ |
// Position of the 'function' token in the script source. |
inline int function_token_position() const; |
inline void set_function_token_position(int function_token_position); |
@@ -7608,9 +7611,6 @@ class JSFunction: public JSObject { |
// Returns the number of allocated literals. |
inline int NumberOfLiterals(); |
- // 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> GetName(Handle<JSFunction> function); |