| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 95e0ae5403d6a0279d0b55fd1c1b9c0ca13f7251..72526327d94954c293fcce88b838c99301efe602 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -7287,6 +7287,8 @@ class JSFunction: public JSObject {
|
| inline int NumberOfLiterals();
|
|
|
| // Used for flags such as --hydrogen-filter.
|
| + // TODO(rmcilroy/mstarzinger): Move this back to JSFunction when compiler.cc
|
| + // is refactored to allow use of JSFunction::PassesFilter for top-level code.
|
| bool PassesFilter(const char* raw_filter);
|
|
|
| // The function's name if it is configured, otherwise shared function info
|
| @@ -8683,6 +8685,9 @@ class String: public Name {
|
| // For use during stack traces. Performs rudimentary sanity check.
|
| bool LooksValid();
|
|
|
| + // Used for flags such as --hydrogen-filter.
|
| + bool PassesFilter(const char* raw_filter);
|
| +
|
| // Dispatched behavior.
|
| void StringShortPrint(StringStream* accumulator);
|
| void PrintUC16(std::ostream& os, int start = 0, int end = -1); // NOLINT
|
|
|