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

Unified Diff: src/compiler/verifier.cc

Issue 2222513002: [turbofan] Insert sigma nodes for loop variable backedge. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index 6f82abf1860b1beed26acc73197f42b2663288ea..9e15c6c74179fb5ccfb8444666353190246ed5f2 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -1062,6 +1062,9 @@ void Verifier::Visitor::Check(Node* node) {
CheckValueInputIs(node, 0, Type::Number());
CheckUpperIs(node, Type::Number());
break;
+ case IrOpcode::kSigma:
+ CheckUpperIs(node, SigmaTypeOf(node->op()));
+ break;
// Machine operators
// -----------------------

Powered by Google App Engine
This is Rietveld 408576698