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

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

Issue 2578563002: [turbofan] Cleaning up InlineApiCall in JSNativeContextReducer. (Closed)
Patch Set: Created 4 years 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 | « no previous file | src/compiler/js-native-context-specialization.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_NATIVE_CONTEXT_SPECIALIZATION_H_ 5 #ifndef V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/deoptimize-reason.h" 10 #include "src/deoptimize-reason.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Try to infer a map for the given {receiver} at the current {effect}. 143 // Try to infer a map for the given {receiver} at the current {effect}.
144 // If a map is returned then you can be sure that the {receiver} definitely 144 // If a map is returned then you can be sure that the {receiver} definitely
145 // has the returned map at this point in the program (identified by {effect}). 145 // has the returned map at this point in the program (identified by {effect}).
146 MaybeHandle<Map> InferReceiverMap(Node* receiver, Node* effect); 146 MaybeHandle<Map> InferReceiverMap(Node* receiver, Node* effect);
147 // Try to infer a root map for the {receiver} independent of the current 147 // Try to infer a root map for the {receiver} independent of the current
148 // program location. 148 // program location.
149 MaybeHandle<Map> InferReceiverRootMap(Node* receiver); 149 MaybeHandle<Map> InferReceiverRootMap(Node* receiver);
150 150
151 ValueEffectControl InlineApiCall( 151 ValueEffectControl InlineApiCall(
152 Node* receiver, Node* context, Node* target, Node* frame_state, 152 Node* receiver, Node* context, Node* target, Node* frame_state,
153 ZoneVector<Node*>* stack_parameters, Node* effect, Node* control, 153 Node* parameter, Node* effect, Node* control,
154 Handle<SharedFunctionInfo> shared_info, 154 Handle<SharedFunctionInfo> shared_info,
155 Handle<FunctionTemplateInfo> function_template_info); 155 Handle<FunctionTemplateInfo> function_template_info);
156 156
157 Graph* graph() const; 157 Graph* graph() const;
158 JSGraph* jsgraph() const { return jsgraph_; } 158 JSGraph* jsgraph() const { return jsgraph_; }
159 Isolate* isolate() const; 159 Isolate* isolate() const;
160 Factory* factory() const; 160 Factory* factory() const;
161 CommonOperatorBuilder* common() const; 161 CommonOperatorBuilder* common() const;
162 JSOperatorBuilder* javascript() const; 162 JSOperatorBuilder* javascript() const;
163 SimplifiedOperatorBuilder* simplified() const; 163 SimplifiedOperatorBuilder* simplified() const;
(...skipping 13 matching lines...) Expand all
177 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); 177 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization);
178 }; 178 };
179 179
180 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) 180 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags)
181 181
182 } // namespace compiler 182 } // namespace compiler
183 } // namespace internal 183 } // namespace internal
184 } // namespace v8 184 } // namespace v8
185 185
186 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 186 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698