Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index ec68265721d818dae9e971e7cbba086ddc6df9ba..fd33f85cd82e14a5782c7a53390d9ca14510d568 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -399,6 +399,11 @@ void InstructionSelector::VisitInt32Sub(Node* node) { |
} |
+void InstructionSelector::VisitInt32SubWithOverflow(Node* node) { |
+ VisitBinopWithOverflow(this, node, kX64Sub32); |
+} |
+ |
+ |
void InstructionSelector::VisitInt64Sub(Node* node) { |
VisitSub<int64_t>(this, node, kX64Sub, kX64Neg); |
} |