Index: src/compiler/js-native-context-specialization.h |
diff --git a/src/compiler/js-native-context-specialization.h b/src/compiler/js-native-context-specialization.h |
index 7d43bfb26d7c068a5970198064cdd798bebbc38b..be74e5d9c48f1c9d80b89b8fc2f0b1ed072dce22 100644 |
--- a/src/compiler/js-native-context-specialization.h |
+++ b/src/compiler/js-native-context-specialization.h |
@@ -7,6 +7,7 @@ |
#include "src/base/flags.h" |
#include "src/compiler/graph-reducer.h" |
+#include "src/deoptimize-reason.h" |
namespace v8 { |
namespace internal { |
@@ -77,7 +78,7 @@ class JSNativeContextSpecialization final : public AdvancedReducer { |
LanguageMode language_mode, |
Node* index = nullptr); |
- Reduction ReduceSoftDeoptimize(Node* node); |
+ Reduction ReduceSoftDeoptimize(Node* node, DeoptimizeReason reason); |
// Adds stability dependencies on all prototypes of every class in |
// {receiver_type} up to (and including) the {holder}. |