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

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

Issue 2956843002: [turbofan] Replace uninitialized JSCall nodes with SOFT deopt. (Closed)
Patch Set: Several improvements. Created 3 years, 5 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 | « no previous file | src/compiler/bytecode-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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_BYTECODE_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
7 7
8 #include "src/compiler/bytecode-analysis.h" 8 #include "src/compiler/bytecode-analysis.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/compiler/js-type-hint-lowering.h" 10 #include "src/compiler/js-type-hint-lowering.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 Node* name = nullptr); 181 Node* name = nullptr);
182 182
183 // Optional early lowering to the simplified operator level. Returns the node 183 // Optional early lowering to the simplified operator level. Returns the node
184 // representing the lowered operation or {nullptr} if no lowering available. 184 // representing the lowered operation or {nullptr} if no lowering available.
185 // Note that the result has already been wired into the environment just like 185 // Note that the result has already been wired into the environment just like
186 // any other invocation of {NewNode} would do. 186 // any other invocation of {NewNode} would do.
187 Node* TryBuildSimplifiedBinaryOp(const Operator* op, Node* left, Node* right, 187 Node* TryBuildSimplifiedBinaryOp(const Operator* op, Node* left, Node* right,
188 FeedbackSlot slot); 188 FeedbackSlot slot);
189 Node* TryBuildSimplifiedToNumber(Node* input, FeedbackSlot slot); 189 Node* TryBuildSimplifiedToNumber(Node* input, FeedbackSlot slot);
190 Node* TryBuildSimplifiedToPrimitiveToString(Node* input, FeedbackSlot slot); 190 Node* TryBuildSimplifiedToPrimitiveToString(Node* input, FeedbackSlot slot);
191 Node* TryBuildSimplifiedCall(const Operator* op, Node* const* args,
192 int arg_count, FeedbackSlot slot);
191 Node* TryBuildSimplifiedLoadNamed(const Operator* op, Node* receiver, 193 Node* TryBuildSimplifiedLoadNamed(const Operator* op, Node* receiver,
192 FeedbackSlot slot); 194 FeedbackSlot slot);
193 Node* TryBuildSimplifiedLoadKeyed(const Operator* op, Node* receiver, 195 Node* TryBuildSimplifiedLoadKeyed(const Operator* op, Node* receiver,
194 Node* key, FeedbackSlot slot); 196 Node* key, FeedbackSlot slot);
195 Node* TryBuildSimplifiedStoreNamed(const Operator* op, Node* receiver, 197 Node* TryBuildSimplifiedStoreNamed(const Operator* op, Node* receiver,
196 Node* value, FeedbackSlot slot); 198 Node* value, FeedbackSlot slot);
197 Node* TryBuildSimplifiedStoreKeyed(const Operator* op, Node* receiver, 199 Node* TryBuildSimplifiedStoreKeyed(const Operator* op, Node* receiver,
198 Node* key, Node* value, FeedbackSlot slot); 200 Node* key, Node* value, FeedbackSlot slot);
199 201
200 // Applies the given early reduction onto the current environment. 202 // Applies the given early reduction onto the current environment.
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 static int const kBinaryOperationSmiHintIndex = 1; 375 static int const kBinaryOperationSmiHintIndex = 1;
374 376
375 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 377 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
376 }; 378 };
377 379
378 } // namespace compiler 380 } // namespace compiler
379 } // namespace internal 381 } // namespace internal
380 } // namespace v8 382 } // namespace v8
381 383
382 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 384 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698