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

Unified Diff: src/compiler/verifier.cc

Issue 2851723002: [turbofan] Rip out the unused OsrGuard node. (Closed)
Patch Set: Created 3 years, 8 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/typer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index 2ba9ebbe0b13cb6d0cf717b7edfc910da791cc59..bc80206d2def092c346e3f9515679592be11cc4b 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -401,23 +401,6 @@ void Verifier::Visitor::Check(Node* node) {
// Type is merged from other values in the graph and could be any.
CheckTypeIs(node, Type::Any());
break;
- case IrOpcode::kOsrGuard:
- // OSR values have a value and a control input.
- CHECK_EQ(1, value_count);
- CHECK_EQ(1, effect_count);
- CHECK_EQ(1, control_count);
- switch (OsrGuardTypeOf(node->op())) {
- case OsrGuardType::kUninitialized:
- CheckTypeIs(node, Type::None());
- break;
- case OsrGuardType::kSignedSmall:
- CheckTypeIs(node, Type::SignedSmall());
- break;
- case OsrGuardType::kAny:
- CheckTypeIs(node, Type::Any());
- break;
- }
- break;
case IrOpcode::kProjection: {
// Projection has an input that produces enough values.
int index = static_cast<int>(ProjectionIndexOf(node->op()));
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698