Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1096)

Side by Side Diff: src/parsing/parser.h

Issue 2642843002: Revert of [Ignition/turbo] Add a CallWithSpread bytecode. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/parsing/parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_PARSING_PARSER_H_ 5 #ifndef V8_PARSING_PARSER_H_
6 #define V8_PARSING_PARSER_H_ 6 #define V8_PARSING_PARSER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/base/compiler-specific.h" 10 #include "src/base/compiler-specific.h"
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 TemplateLiteralState OpenTemplateLiteral(int pos); 584 TemplateLiteralState OpenTemplateLiteral(int pos);
585 void AddTemplateSpan(TemplateLiteralState* state, bool tail); 585 void AddTemplateSpan(TemplateLiteralState* state, bool tail);
586 void AddTemplateExpression(TemplateLiteralState* state, 586 void AddTemplateExpression(TemplateLiteralState* state,
587 Expression* expression); 587 Expression* expression);
588 Expression* CloseTemplateLiteral(TemplateLiteralState* state, int start, 588 Expression* CloseTemplateLiteral(TemplateLiteralState* state, int start,
589 Expression* tag); 589 Expression* tag);
590 uint32_t ComputeTemplateLiteralHash(const TemplateLiteral* lit); 590 uint32_t ComputeTemplateLiteralHash(const TemplateLiteral* lit);
591 591
592 ZoneList<Expression*>* PrepareSpreadArguments(ZoneList<Expression*>* list); 592 ZoneList<Expression*>* PrepareSpreadArguments(ZoneList<Expression*>* list);
593 Expression* SpreadCall(Expression* function, ZoneList<Expression*>* args, 593 Expression* SpreadCall(Expression* function, ZoneList<Expression*>* args,
594 int pos, Call::PossiblyEval is_possibly_eval); 594 int pos);
595 Expression* SpreadCallNew(Expression* function, ZoneList<Expression*>* args, 595 Expression* SpreadCallNew(Expression* function, ZoneList<Expression*>* args,
596 int pos); 596 int pos);
597 Expression* RewriteSuperCall(Expression* call_expression); 597 Expression* RewriteSuperCall(Expression* call_expression);
598 598
599 void SetLanguageMode(Scope* scope, LanguageMode mode); 599 void SetLanguageMode(Scope* scope, LanguageMode mode);
600 void SetAsmModule(); 600 void SetAsmModule();
601 601
602 V8_INLINE void MarkCollectedTailCallExpressions(); 602 V8_INLINE void MarkCollectedTailCallExpressions();
603 V8_INLINE void MarkTailPosition(Expression* expression); 603 V8_INLINE void MarkTailPosition(Expression* expression);
604 604
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 1175
1176 private: 1176 private:
1177 ParserTarget** variable_; 1177 ParserTarget** variable_;
1178 ParserTarget* previous_; 1178 ParserTarget* previous_;
1179 }; 1179 };
1180 1180
1181 } // namespace internal 1181 } // namespace internal
1182 } // namespace v8 1182 } // namespace v8
1183 1183
1184 #endif // V8_PARSING_PARSER_H_ 1184 #endif // V8_PARSING_PARSER_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698