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

Unified Diff: src/compiler/frame-states.h

Issue 1715633002: [turbofan] Remove the JSContextRelaxation reducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/common-operator.cc ('k') | src/compiler/js-context-relaxation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/frame-states.h
diff --git a/src/compiler/frame-states.h b/src/compiler/frame-states.h
index ddb55c35d245ca6286f0ef11b9ffabb384a471ac..60ff9b55fa37a540f037b628846507835c8bf862 100644
--- a/src/compiler/frame-states.h
+++ b/src/compiler/frame-states.h
@@ -83,31 +83,20 @@ enum class FrameStateType {
};
-enum ContextCallingMode {
- CALL_MAINTAINS_NATIVE_CONTEXT,
- CALL_CHANGES_NATIVE_CONTEXT
-};
-
-
class FrameStateFunctionInfo {
public:
FrameStateFunctionInfo(FrameStateType type, int parameter_count,
int local_count,
- Handle<SharedFunctionInfo> shared_info,
- ContextCallingMode context_calling_mode)
+ Handle<SharedFunctionInfo> shared_info)
: type_(type),
parameter_count_(parameter_count),
local_count_(local_count),
- shared_info_(shared_info),
- context_calling_mode_(context_calling_mode) {}
+ shared_info_(shared_info) {}
int local_count() const { return local_count_; }
int parameter_count() const { return parameter_count_; }
Handle<SharedFunctionInfo> shared_info() const { return shared_info_; }
FrameStateType type() const { return type_; }
- ContextCallingMode context_calling_mode() const {
- return context_calling_mode_;
- }
static bool IsJSFunctionType(FrameStateType type) {
return type == FrameStateType::kJavaScriptFunction ||
@@ -119,7 +108,6 @@ class FrameStateFunctionInfo {
int const parameter_count_;
int const local_count_;
Handle<SharedFunctionInfo> const shared_info_;
- ContextCallingMode context_calling_mode_;
};
« no previous file with comments | « src/compiler/common-operator.cc ('k') | src/compiler/js-context-relaxation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698