Index: src/func-name-inferrer.h |
diff --git a/src/func-name-inferrer.h b/src/func-name-inferrer.h |
index 8b077f9d8cf6b4c0ebee72d677378d965bd5c951..a8a6a676016de9da150b9f604f98e0677dfa6de0 100644 |
--- a/src/func-name-inferrer.h |
+++ b/src/func-name-inferrer.h |
@@ -13,8 +13,10 @@ namespace internal { |
class AstRawString; |
class AstString; |
+class AstValue; |
class AstValueFactory; |
class FunctionLiteral; |
+class Expression; |
// FuncNameInferrer is a stateful class that is used to perform name |
// inference for anonymous functions during static analysis of source code. |
@@ -42,8 +44,9 @@ class FuncNameInferrer : public ZoneObject { |
} |
// Pushes an encountered name onto names stack when in collection state. |
+ void PushLiteralName(const AstValue* name); |
void PushLiteralName(const AstRawString* name); |
- |
+ void PushLiteralName(Expression* expression); |
void PushVariableName(const AstRawString* name); |
// Adds a function to infer name for. |