OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_IC_HANDLER_COMPILER_H_ | 5 #ifndef V8_IC_HANDLER_COMPILER_H_ |
6 #define V8_IC_HANDLER_COMPILER_H_ | 6 #define V8_IC_HANDLER_COMPILER_H_ |
7 | 7 |
8 #include "src/ic/access-compiler.h" | 8 #include "src/ic/access-compiler.h" |
9 #include "src/ic/ic-state.h" | 9 #include "src/ic/ic-state.h" |
10 | 10 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 Handle<JSObject> holder) | 218 Handle<JSObject> holder) |
219 : PropertyHandlerCompiler(isolate, Code::STORE_IC, type, holder, | 219 : PropertyHandlerCompiler(isolate, Code::STORE_IC, type, holder, |
220 kCacheOnReceiver) {} | 220 kCacheOnReceiver) {} |
221 | 221 |
222 virtual ~NamedStoreHandlerCompiler() {} | 222 virtual ~NamedStoreHandlerCompiler() {} |
223 | 223 |
224 Handle<Code> CompileStoreTransition(Handle<Map> transition, | 224 Handle<Code> CompileStoreTransition(Handle<Map> transition, |
225 Handle<Name> name); | 225 Handle<Name> name); |
226 Handle<Code> CompileStoreField(LookupIterator* it); | 226 Handle<Code> CompileStoreField(LookupIterator* it); |
227 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, | 227 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, |
228 Handle<ExecutableAccessorInfo> callback); | 228 int accessor_index); |
229 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, | 229 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, |
230 const CallOptimization& call_optimization, | 230 const CallOptimization& call_optimization, |
231 int accessor_index); | 231 int accessor_index); |
232 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, Handle<Name> name, | 232 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, Handle<Name> name, |
233 int accessor_index, | 233 int accessor_index, |
234 int expected_arguments); | 234 int expected_arguments); |
235 Handle<Code> CompileStoreInterceptor(Handle<Name> name); | 235 Handle<Code> CompileStoreInterceptor(Handle<Name> name); |
236 | 236 |
237 static void GenerateStoreViaSetter(MacroAssembler* masm, | 237 static void GenerateStoreViaSetter(MacroAssembler* masm, |
238 Handle<HeapType> type, Register receiver, | 238 Handle<HeapType> type, Register receiver, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 292 |
293 void CompileElementHandlers(MapHandleList* receiver_maps, | 293 void CompileElementHandlers(MapHandleList* receiver_maps, |
294 CodeHandleList* handlers); | 294 CodeHandleList* handlers); |
295 | 295 |
296 static void GenerateStoreSlow(MacroAssembler* masm); | 296 static void GenerateStoreSlow(MacroAssembler* masm); |
297 }; | 297 }; |
298 } | 298 } |
299 } // namespace v8::internal | 299 } // namespace v8::internal |
300 | 300 |
301 #endif // V8_IC_HANDLER_COMPILER_H_ | 301 #endif // V8_IC_HANDLER_COMPILER_H_ |
OLD | NEW |