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

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

Issue 969533004: [turbofan] Implement throwing exceptions into TurboFan code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix code lookup. 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/code-stubs-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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 233
234 // Builders for automatic type conversion. 234 // Builders for automatic type conversion.
235 Node* BuildToBoolean(Node* value); 235 Node* BuildToBoolean(Node* value);
236 Node* BuildToName(Node* value, BailoutId bailout_id); 236 Node* BuildToName(Node* value, BailoutId bailout_id);
237 237
238 // Builder for adding the [[HomeObject]] to a value if the value came from a 238 // Builder for adding the [[HomeObject]] to a value if the value came from a
239 // function literal and needs a home object. Do nothing otherwise. 239 // function literal and needs a home object. Do nothing otherwise.
240 Node* BuildSetHomeObject(Node* value, Node* home_object, Expression* expr); 240 Node* BuildSetHomeObject(Node* value, Node* home_object, Expression* expr);
241 241
242 // Builders for error reporting at runtime. 242 // Builders for error reporting at runtime.
243 Node* BuildThrowError(Node* exception, BailoutId bailout_id);
243 Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id); 244 Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id);
244 Node* BuildThrowConstAssignError(BailoutId bailout_id); 245 Node* BuildThrowConstAssignError(BailoutId bailout_id);
245 246
246 // Builders for dynamic hole-checks at runtime. 247 // Builders for dynamic hole-checks at runtime.
247 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole); 248 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole);
248 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole, 249 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole,
249 BailoutId bailout_id); 250 BailoutId bailout_id);
250 251
251 // Builders for non-local control flow. 252 // Builders for non-local control flow.
252 Node* BuildReturn(Node* return_value); 253 Node* BuildReturn(Node* return_value);
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 476
476 // Prepare environment to be used as loop header. 477 // Prepare environment to be used as loop header.
477 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 478 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
478 }; 479 };
479 480
480 } // namespace compiler 481 } // namespace compiler
481 } // namespace internal 482 } // namespace internal
482 } // namespace v8 483 } // namespace v8
483 484
484 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 485 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698