| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 Handle<Code> CompileStoreField(LookupIterator* it); | 224 Handle<Code> CompileStoreField(LookupIterator* it); |
| 225 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, | 225 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, |
| 226 Handle<AccessorInfo> callback, | 226 Handle<AccessorInfo> callback, |
| 227 LanguageMode language_mode); | 227 LanguageMode language_mode); |
| 228 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, | 228 Handle<Code> CompileStoreCallback(Handle<JSObject> object, Handle<Name> name, |
| 229 const CallOptimization& call_optimization, | 229 const CallOptimization& call_optimization, |
| 230 int accessor_index); | 230 int accessor_index); |
| 231 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, Handle<Name> name, | 231 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, Handle<Name> name, |
| 232 int accessor_index, | 232 int accessor_index, |
| 233 int expected_arguments); | 233 int expected_arguments); |
| 234 Handle<Code> CompileStoreInterceptor(Handle<Name> name); | |
| 235 | 234 |
| 236 static void GenerateStoreViaSetter(MacroAssembler* masm, Handle<Map> map, | 235 static void GenerateStoreViaSetter(MacroAssembler* masm, Handle<Map> map, |
| 237 Register receiver, Register holder, | 236 Register receiver, Register holder, |
| 238 int accessor_index, int expected_arguments, | 237 int accessor_index, int expected_arguments, |
| 239 Register scratch); | 238 Register scratch); |
| 240 | 239 |
| 241 static void GenerateStoreViaSetterForDeopt(MacroAssembler* masm) { | 240 static void GenerateStoreViaSetterForDeopt(MacroAssembler* masm) { |
| 242 GenerateStoreViaSetter(masm, Handle<Map>::null(), no_reg, no_reg, -1, -1, | 241 GenerateStoreViaSetter(masm, Handle<Map>::null(), no_reg, no_reg, -1, -1, |
| 243 no_reg); | 242 no_reg); |
| 244 } | 243 } |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 295 |
| 297 void CompileElementHandlers(MapHandleList* receiver_maps, | 296 void CompileElementHandlers(MapHandleList* receiver_maps, |
| 298 CodeHandleList* handlers); | 297 CodeHandleList* handlers); |
| 299 | 298 |
| 300 static void GenerateStoreSlow(MacroAssembler* masm); | 299 static void GenerateStoreSlow(MacroAssembler* masm); |
| 301 }; | 300 }; |
| 302 } // namespace internal | 301 } // namespace internal |
| 303 } // namespace v8 | 302 } // namespace v8 |
| 304 | 303 |
| 305 #endif // V8_IC_HANDLER_COMPILER_H_ | 304 #endif // V8_IC_HANDLER_COMPILER_H_ |
| OLD | NEW |