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

Side by Side Diff: src/compiler/js-type-feedback.h

Issue 1205473004: [turbofan] Make global variable loads and stores explicit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/js-type-feedback.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_JS_TYPE_FEEDBACK_H_ 5 #ifndef V8_COMPILER_JS_TYPE_FEEDBACK_H_
6 #define V8_COMPILER_JS_TYPE_FEEDBACK_H_ 6 #define V8_COMPILER_JS_TYPE_FEEDBACK_H_
7 7
8 #include "src/utils.h" 8 #include "src/utils.h"
9 9
10 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 oracle_(oracle), 77 oracle_(oracle),
78 global_object_(global_object), 78 global_object_(global_object),
79 mode_(mode), 79 mode_(mode),
80 dependencies_(dependencies) { 80 dependencies_(dependencies) {
81 CHECK_NOT_NULL(js_type_feedback); 81 CHECK_NOT_NULL(js_type_feedback);
82 } 82 }
83 83
84 Reduction Reduce(Node* node) override; 84 Reduction Reduce(Node* node) override;
85 85
86 // Visible for unit testing. 86 // Visible for unit testing.
87 Reduction ReduceJSLoadGlobal(Node* node);
87 Reduction ReduceJSLoadNamed(Node* node); 88 Reduction ReduceJSLoadNamed(Node* node);
88 Reduction ReduceJSLoadNamedForGlobalVariable(Node* node);
89 Reduction ReduceJSLoadProperty(Node* node); 89 Reduction ReduceJSLoadProperty(Node* node);
90 Reduction ReduceJSStoreNamed(Node* node); 90 Reduction ReduceJSStoreNamed(Node* node);
91 Reduction ReduceJSStoreProperty(Node* node); 91 Reduction ReduceJSStoreProperty(Node* node);
92 92
93 private: 93 private:
94 JSGraph* jsgraph_; 94 JSGraph* jsgraph_;
95 SimplifiedOperatorBuilder simplified_; 95 SimplifiedOperatorBuilder simplified_;
96 JSTypeFeedbackTable* js_type_feedback_; 96 JSTypeFeedbackTable* js_type_feedback_;
97 TypeFeedbackOracle* oracle_; 97 TypeFeedbackOracle* oracle_;
98 Handle<GlobalObject> global_object_; 98 Handle<GlobalObject> global_object_;
(...skipping 11 matching lines...) Expand all
110 Node* effect, Node* control, Node** success, Node** fail); 110 Node* effect, Node* control, Node** success, Node** fail);
111 111
112 Node* GetFrameStateBefore(Node* node); 112 Node* GetFrameStateBefore(Node* node);
113 }; 113 };
114 114
115 } // namespace compiler 115 } // namespace compiler
116 } // namespace internal 116 } // namespace internal
117 } // namespace v8 117 } // namespace v8
118 118
119 #endif 119 #endif
OLDNEW
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/js-type-feedback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698