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

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

Issue 2629363002: [Ignition/turbo] Add a CallWithSpread bytecode. (Closed)
Patch Set: reparent on the bytecode CL 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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 TemplateLiteralState OpenTemplateLiteral(int pos); 586 TemplateLiteralState OpenTemplateLiteral(int pos);
587 void AddTemplateSpan(TemplateLiteralState* state, bool tail); 587 void AddTemplateSpan(TemplateLiteralState* state, bool tail);
588 void AddTemplateExpression(TemplateLiteralState* state, 588 void AddTemplateExpression(TemplateLiteralState* state,
589 Expression* expression); 589 Expression* expression);
590 Expression* CloseTemplateLiteral(TemplateLiteralState* state, int start, 590 Expression* CloseTemplateLiteral(TemplateLiteralState* state, int start,
591 Expression* tag); 591 Expression* tag);
592 uint32_t ComputeTemplateLiteralHash(const TemplateLiteral* lit); 592 uint32_t ComputeTemplateLiteralHash(const TemplateLiteral* lit);
593 593
594 ZoneList<Expression*>* PrepareSpreadArguments(ZoneList<Expression*>* list); 594 ZoneList<Expression*>* PrepareSpreadArguments(ZoneList<Expression*>* list);
595 Expression* SpreadCall(Expression* function, ZoneList<Expression*>* args, 595 Expression* SpreadCall(Expression* function, ZoneList<Expression*>* args,
596 int pos); 596 int pos, Call::PossiblyEval is_possibly_eval);
597 Expression* SpreadCallNew(Expression* function, ZoneList<Expression*>* args, 597 Expression* SpreadCallNew(Expression* function, ZoneList<Expression*>* args,
598 int pos); 598 int pos);
599 Expression* RewriteSuperCall(Expression* call_expression); 599 Expression* RewriteSuperCall(Expression* call_expression);
600 600
601 void SetLanguageMode(Scope* scope, LanguageMode mode); 601 void SetLanguageMode(Scope* scope, LanguageMode mode);
602 void SetAsmModule(); 602 void SetAsmModule();
603 603
604 V8_INLINE void MarkCollectedTailCallExpressions(); 604 V8_INLINE void MarkCollectedTailCallExpressions();
605 V8_INLINE void MarkTailPosition(Expression* expression); 605 V8_INLINE void MarkTailPosition(Expression* expression);
606 606
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 1176
1177 private: 1177 private:
1178 ParserTarget** variable_; 1178 ParserTarget** variable_;
1179 ParserTarget* previous_; 1179 ParserTarget* previous_;
1180 }; 1180 };
1181 1181
1182 } // namespace internal 1182 } // namespace internal
1183 } // namespace v8 1183 } // namespace v8
1184 1184
1185 #endif // V8_PARSING_PARSER_H_ 1185 #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