Index: src/compiler/common-operator.h |
diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h |
index 620ca57f90bfb8ab39907a63fdd72eb27edca60c..f6e75a464fa1324d036c610782abdd2f84555119 100644 |
--- a/src/compiler/common-operator.h |
+++ b/src/compiler/common-operator.h |
@@ -77,7 +77,14 @@ std::ostream& operator<<(std::ostream&, DeoptimizeParameters p); |
DeoptimizeParameters const& DeoptimizeParametersOf(Operator const* const); |
// Prediction whether throw-site is surrounded by any local catch-scope. |
-enum class IfExceptionHint { kLocallyUncaught, kLocallyCaught }; |
+enum class IfExceptionHint { |
+ kLocallyUncaught, |
+ kLocallyCaught, |
+ kLocallyCaughtForPromiseReject |
+}; |
+ |
+IfExceptionHint ExceptionHintFromCatchPrediction( |
+ HandlerTable::CatchPrediction prediction); |
size_t hash_value(IfExceptionHint hint); |