Index: src/parsing/preparser.h |
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h |
index a8db6fedc6515f05319e352502bdacc817c8c1b6..76868e8a5d75414db77f5e98076d9c1710e44fad 100644 |
--- a/src/parsing/preparser.h |
+++ b/src/parsing/preparser.h |
@@ -906,29 +906,10 @@ class PreParser : public ParserBase<PreParser> { |
// Functions for encapsulating the differences between parsing and preparsing; |
// operations interleaved with the recursive descent. |
- V8_INLINE static void PushLiteralName(FuncNameInferrer* fni, |
- PreParserIdentifier id) { |
- // PreParser should not use FuncNameInferrer. |
- UNREACHABLE(); |
- } |
- |
- V8_INLINE static void PushVariableName(FuncNameInferrer* fni, |
- PreParserIdentifier id) { |
- // PreParser should not use FuncNameInferrer. |
- UNREACHABLE(); |
- } |
- |
- V8_INLINE void PushPropertyName(FuncNameInferrer* fni, |
- PreParserExpression expression) { |
- // PreParser should not use FuncNameInferrer. |
- UNREACHABLE(); |
- } |
- |
- V8_INLINE static void InferFunctionName(FuncNameInferrer* fni, |
- PreParserExpression expression) { |
- // PreParser should not use FuncNameInferrer. |
- UNREACHABLE(); |
- } |
+ V8_INLINE static void PushLiteralName(PreParserIdentifier id) {} |
+ V8_INLINE static void PushVariableName(PreParserIdentifier id) {} |
+ V8_INLINE void PushPropertyName(PreParserExpression expression) {} |
+ V8_INLINE static void InferFunctionName(PreParserExpression expression) {} |
V8_INLINE static void CheckAssigningFunctionLiteralToProperty( |
PreParserExpression left, PreParserExpression right) {} |