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

Unified Diff: src/compiler/representation-change.cc

Issue 2037673002: [turbofan] Remove frame state input from speculative ops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-checkpoint-5
Patch Set: Created 4 years, 7 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 | « src/compiler/operator-properties.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/representation-change.cc
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc
index 0ebb74fb5cc16135254b613eeb22e8a600a5959a..9777dbb05204f2deb944fa551052b2ef54bbda01 100644
--- a/src/compiler/representation-change.cc
+++ b/src/compiler/representation-change.cc
@@ -451,7 +451,7 @@ Node* RepresentationChanger::InsertConversion(Node* node, const Operator* op,
// and also provide it with a frame state.
Node* effect = NodeProperties::GetEffectInput(use_node);
Node* control = NodeProperties::GetControlInput(use_node);
- Node* frame_state = NodeProperties::GetFrameStateInput(use_node, 0);
+ Node* frame_state = NodeProperties::FindFrameStateBefore(use_node);
Node* conversion =
jsgraph()->graph()->NewNode(op, node, frame_state, effect, control);
NodeProperties::ReplaceControlInput(use_node, control);
« no previous file with comments | « src/compiler/operator-properties.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698