OLD | NEW |
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 Node* InlinePropertyGetterCall(Node* receiver, Node* context, | 135 Node* InlinePropertyGetterCall(Node* receiver, Node* context, |
136 Node* frame_state, Node** effect, | 136 Node* frame_state, Node** effect, |
137 Node** control, | 137 Node** control, |
138 ZoneVector<Node*>* if_exceptions, | 138 ZoneVector<Node*>* if_exceptions, |
139 PropertyAccessInfo const& access_info); | 139 PropertyAccessInfo const& access_info); |
140 Node* InlinePropertySetterCall(Node* receiver, Node* value, Node* context, | 140 Node* InlinePropertySetterCall(Node* receiver, Node* value, Node* context, |
141 Node* frame_state, Node** effect, | 141 Node* frame_state, Node** effect, |
142 Node** control, | 142 Node** control, |
143 ZoneVector<Node*>* if_exceptions, | 143 ZoneVector<Node*>* if_exceptions, |
144 PropertyAccessInfo const& access_info); | 144 PropertyAccessInfo const& access_info); |
145 Node* InlineApiCall(Node* receiver, Node* context, Node* target, | 145 Node* InlineApiCall(Node* receiver, Node* holder, Node* context, Node* target, |
146 Node* frame_state, Node* value, Node** effect, | 146 Node* frame_state, Node* value, Node** effect, |
147 Node** control, Handle<SharedFunctionInfo> shared_info, | 147 Node** control, Handle<SharedFunctionInfo> shared_info, |
148 Handle<FunctionTemplateInfo> function_template_info); | 148 Handle<FunctionTemplateInfo> function_template_info); |
149 | 149 |
150 // Construct the appropriate subgraph for element access. | 150 // Construct the appropriate subgraph for element access. |
151 ValueEffectControl BuildElementAccess(Node* receiver, Node* index, | 151 ValueEffectControl BuildElementAccess(Node* receiver, Node* index, |
152 Node* value, Node* effect, | 152 Node* value, Node* effect, |
153 Node* control, | 153 Node* control, |
154 ElementAccessInfo const& access_info, | 154 ElementAccessInfo const& access_info, |
155 AccessMode access_mode, | 155 AccessMode access_mode, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); | 222 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); |
223 }; | 223 }; |
224 | 224 |
225 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) | 225 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) |
226 | 226 |
227 } // namespace compiler | 227 } // namespace compiler |
228 } // namespace internal | 228 } // namespace internal |
229 } // namespace v8 | 229 } // namespace v8 |
230 | 230 |
231 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ | 231 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ |
OLD | NEW |