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

Unified Diff: src/compiler/instruction-selector.cc

Issue 1980383002: [turbofan] Kill type Guard nodes during effect/control linearization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: For "reason" wasm requires Begin/FinishRegion ATM. 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/instruction-selector.h ('k') | test/mjsunit/regress/regress-crbug-612142.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction-selector.cc
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
index 41ab1379136071cb1a8fab7f459f2fc6da378b37..88cc2e536cfe5345f54f4f04a7e3693caa660316 100644
--- a/src/compiler/instruction-selector.cc
+++ b/src/compiler/instruction-selector.cc
@@ -858,8 +858,6 @@ void InstructionSelector::VisitNode(Node* node) {
return MarkAsReference(node), VisitIfException(node);
case IrOpcode::kFinishRegion:
return MarkAsReference(node), VisitFinishRegion(node);
- case IrOpcode::kGuard:
- return MarkAsReference(node), VisitGuard(node);
case IrOpcode::kParameter: {
MachineType type =
linkage()->GetParameterType(ParameterIndexOf(node->op()));
@@ -1444,13 +1442,6 @@ void InstructionSelector::VisitFinishRegion(Node* node) {
}
-void InstructionSelector::VisitGuard(Node* node) {
- OperandGenerator g(this);
- Node* value = node->InputAt(0);
- Emit(kArchNop, g.DefineSameAsFirst(node), g.Use(value));
-}
-
-
void InstructionSelector::VisitParameter(Node* node) {
OperandGenerator g(this);
int index = ParameterIndexOf(node->op());
« no previous file with comments | « src/compiler/instruction-selector.h ('k') | test/mjsunit/regress/regress-crbug-612142.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698