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

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

Issue 985643003: [es6] Throw TypeError for computed static prototype property name (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Inline BuildThrowStaticPrototype Created 5 years, 9 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/arm64/full-codegen-arm64.cc ('k') | 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.h" 8 #include "src/ast.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 10
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // Builders for error reporting at runtime. 246 // Builders for error reporting at runtime.
247 Node* BuildThrowError(Node* exception, BailoutId bailout_id); 247 Node* BuildThrowError(Node* exception, BailoutId bailout_id);
248 Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id); 248 Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id);
249 Node* BuildThrowConstAssignError(BailoutId bailout_id); 249 Node* BuildThrowConstAssignError(BailoutId bailout_id);
250 250
251 // Builders for dynamic hole-checks at runtime. 251 // Builders for dynamic hole-checks at runtime.
252 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole); 252 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole);
253 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole, 253 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole,
254 BailoutId bailout_id); 254 BailoutId bailout_id);
255 255
256 // Builders for conditional errors.
257 Node* BuildThrowIfStaticPrototype(Node* name, BailoutId bailout_id);
258
256 // Builders for non-local control flow. 259 // Builders for non-local control flow.
257 Node* BuildReturn(Node* return_value); 260 Node* BuildReturn(Node* return_value);
258 Node* BuildThrow(Node* exception_value); 261 Node* BuildThrow(Node* exception_value);
259 262
260 // Builders for binary operations. 263 // Builders for binary operations.
261 Node* BuildBinaryOp(Node* left, Node* right, Token::Value op); 264 Node* BuildBinaryOp(Node* left, Node* right, Token::Value op);
262 265
263 // Check if the given statement is an OSR entry. 266 // Check if the given statement is an OSR entry.
264 // If so, record the stack height into the compilation and return {true}. 267 // If so, record the stack height into the compilation and return {true}.
265 bool CheckOsrEntry(IterationStatement* stmt); 268 bool CheckOsrEntry(IterationStatement* stmt);
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 484
482 // Prepare environment to be used as loop header. 485 // Prepare environment to be used as loop header.
483 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 486 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
484 }; 487 };
485 488
486 } // namespace compiler 489 } // namespace compiler
487 } // namespace internal 490 } // namespace internal
488 } // namespace v8 491 } // namespace v8
489 492
490 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 493 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698