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

Unified Diff: src/compiler/bytecode-graph-builder.h

Issue 2958253002: [turbofan] Replace uninitialized JSConstruct nodes with SOFT deopt. (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/bytecode-graph-builder.h
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h
index b7d0b510763c914a52885fbc2ee9390382bd00b5..6c3d2785f3c14f1a1ed2b8165ce9aa7c4c3c6541 100644
--- a/src/compiler/bytecode-graph-builder.h
+++ b/src/compiler/bytecode-graph-builder.h
@@ -124,14 +124,11 @@ class BytecodeGraphBuilder {
int arg_count);
Node* ProcessCallArguments(const Operator* call_op, Node* callee,
interpreter::Register receiver, size_t reg_count);
- Node* ProcessConstructArguments(const Operator* call_new_op, Node* callee,
- Node* new_target,
- interpreter::Register receiver,
- size_t reg_count);
- Node* ProcessConstructWithSpreadArguments(const Operator* op, Node* callee,
- Node* new_target,
- interpreter::Register receiver,
- size_t reg_count);
+ Node* const* GetConstructArgumentsFromRegister(
+ Node* target, Node* new_target, interpreter::Register first_arg,
+ int arg_count);
+ Node* ProcessConstructArguments(const Operator* op, Node* const* args,
+ int arg_count);
Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op,
interpreter::Register receiver,
size_t reg_count);
@@ -190,6 +187,8 @@ class BytecodeGraphBuilder {
Node* TryBuildSimplifiedToPrimitiveToString(Node* input, FeedbackSlot slot);
Node* TryBuildSimplifiedCall(const Operator* op, Node* const* args,
int arg_count, FeedbackSlot slot);
+ Node* TryBuildSimplifiedConstruct(const Operator* op, Node* const* args,
+ int arg_count, FeedbackSlot slot);
Node* TryBuildSimplifiedLoadNamed(const Operator* op, Node* receiver,
FeedbackSlot slot);
Node* TryBuildSimplifiedLoadKeyed(const Operator* op, Node* receiver,
« 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