Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: src/compiler/js-native-context-specialization.h

Issue 2161543002: [turbofan] Add support for eager/soft deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Do the ports properly Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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}.
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698