Index: src/compiler/simplified-operator.cc |
diff --git a/src/compiler/simplified-operator.cc b/src/compiler/simplified-operator.cc |
index d85d310cd7bcf06f9502c56ec2d4e9f45bde3b93..9e2ebafdfa6e6cdf3f750b8691e3204e13313667 100644 |
--- a/src/compiler/simplified-operator.cc |
+++ b/src/compiler/simplified-operator.cc |
@@ -423,6 +423,12 @@ const Operator* SimplifiedOperatorBuilder::ReferenceEqual(Type* type) { |
"ReferenceEqual", 2, 0, 0, 1, 0, 0); |
} |
+const Operator* SimplifiedOperatorBuilder::CheckBounds() { |
+ // TODO(bmeurer): Cache this operator. Make it pure! |
+ return new (zone()) Operator(IrOpcode::kCheckBounds, Operator::kEliminatable, |
+ "CheckBounds", 2, 1, 1, 1, 1, 0); |
+} |
+ |
const Operator* SimplifiedOperatorBuilder::TypeGuard(Type* type) { |
class TypeGuardOperator final : public Operator1<Type*> { |
public: |