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

Side by Side Diff: src/compiler/ast-graph-builder.h

Issue 2534463002: [fullcodegen] Remove deprecated support for class literals. (Closed)
Patch Set: Created 4 years 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 | « no previous file | src/compiler/ast-graph-builder.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_COMPILER_AST_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/compiler/compiler-source-position-table.h" 9 #include "src/compiler/compiler-source-position-table.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 338
339 // Builder for adding the [[HomeObject]] to a value if the value came from a 339 // Builder for adding the [[HomeObject]] to a value if the value came from a
340 // function literal and needs a home object. Do nothing otherwise. 340 // function literal and needs a home object. Do nothing otherwise.
341 Node* BuildSetHomeObject(Node* value, Node* home_object, 341 Node* BuildSetHomeObject(Node* value, Node* home_object,
342 LiteralProperty* property, int slot_number = 0); 342 LiteralProperty* property, int slot_number = 0);
343 343
344 // Builders for error reporting at runtime. 344 // Builders for error reporting at runtime.
345 Node* BuildThrowError(Node* exception, BailoutId bailout_id); 345 Node* BuildThrowError(Node* exception, BailoutId bailout_id);
346 Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id); 346 Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id);
347 Node* BuildThrowConstAssignError(BailoutId bailout_id); 347 Node* BuildThrowConstAssignError(BailoutId bailout_id);
348 Node* BuildThrowStaticPrototypeError(BailoutId bailout_id);
349 Node* BuildThrowUnsupportedSuperError(BailoutId bailout_id); 348 Node* BuildThrowUnsupportedSuperError(BailoutId bailout_id);
350 349
351 // Builders for dynamic hole-checks at runtime. 350 // Builders for dynamic hole-checks at runtime.
352 Node* BuildHoleCheckThenThrow(Node* value, Variable* var, Node* not_hole, 351 Node* BuildHoleCheckThenThrow(Node* value, Variable* var, Node* not_hole,
353 BailoutId bailout_id); 352 BailoutId bailout_id);
354 Node* BuildHoleCheckElseThrow(Node* value, Variable* var, Node* for_hole, 353 Node* BuildHoleCheckElseThrow(Node* value, Variable* var, Node* for_hole,
355 BailoutId bailout_id); 354 BailoutId bailout_id);
356 355
357 // Builders for conditional errors.
358 Node* BuildThrowIfStaticPrototype(Node* name, BailoutId bailout_id);
359
360 // Builders for non-local control flow. 356 // Builders for non-local control flow.
361 Node* BuildReturn(Node* return_value); 357 Node* BuildReturn(Node* return_value);
362 Node* BuildThrow(Node* exception_value); 358 Node* BuildThrow(Node* exception_value);
363 359
364 // Builders for binary operations. 360 // Builders for binary operations.
365 Node* BuildBinaryOp(Node* left, Node* right, Token::Value op, 361 Node* BuildBinaryOp(Node* left, Node* right, Token::Value op,
366 TypeFeedbackId feedback_id); 362 TypeFeedbackId feedback_id);
367 363
368 // Process arguments to a call by popping {arity} elements off the operand 364 // Process arguments to a call by popping {arity} elements off the operand
369 // stack and build a call node using the given call operator. 365 // stack and build a call node using the given call operator.
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 private: 623 private:
628 SourcePositionTable* const source_positions_; 624 SourcePositionTable* const source_positions_;
629 SourcePosition const start_position_; 625 SourcePosition const start_position_;
630 }; 626 };
631 627
632 } // namespace compiler 628 } // namespace compiler
633 } // namespace internal 629 } // namespace internal
634 } // namespace v8 630 } // namespace v8
635 631
636 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 632 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698