Index: src/compiler/machine-operator.cc |
diff --git a/src/compiler/machine-operator.cc b/src/compiler/machine-operator.cc |
index 0d229c7abe110252e092dc4cc343fcac180dd048..cd9f7c0cc8bba61ac3f4a9574c5a081785a71f9b 100644 |
--- a/src/compiler/machine-operator.cc |
+++ b/src/compiler/machine-operator.cc |
@@ -526,6 +526,13 @@ struct MachineOperatorGlobalCache { |
AtomicStore##Type##Operator kAtomicStore##Type; |
ATOMIC_REPRESENTATION_LIST(ATOMIC_STORE) |
#undef STORE |
+ |
+ struct DebugBreakOperator : public Operator { |
+ DebugBreakOperator() |
+ : Operator(IrOpcode::kDebugBreak, Operator::kNoThrow, "DebugBreak", 0, |
+ 0, 0, 0, 0, 0) {} |
+ }; |
+ DebugBreakOperator kDebugBreak; |
}; |
@@ -604,6 +611,9 @@ const Operator* MachineOperatorBuilder::Store(StoreRepresentation store_rep) { |
return nullptr; |
} |
+const Operator* MachineOperatorBuilder::DebugBreak() { |
+ return &cache_.kDebugBreak; |
+} |
const Operator* MachineOperatorBuilder::CheckedLoad( |
CheckedLoadRepresentation rep) { |