OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 Handle<Code> CompileLoadInterceptor(Handle<HeapType> type, | 560 Handle<Code> CompileLoadInterceptor(Handle<HeapType> type, |
561 Handle<JSObject> holder, | 561 Handle<JSObject> holder, |
562 Handle<Name> name); | 562 Handle<Name> name); |
563 | 563 |
564 Handle<Code> CompileLoadViaGetter(Handle<HeapType> type, | 564 Handle<Code> CompileLoadViaGetter(Handle<HeapType> type, |
565 Handle<JSObject> holder, | 565 Handle<JSObject> holder, |
566 Handle<Name> name, | 566 Handle<Name> name, |
567 Handle<JSFunction> getter); | 567 Handle<JSFunction> getter); |
568 | 568 |
569 static void GenerateLoadViaGetter(MacroAssembler* masm, | 569 static void GenerateLoadViaGetter(MacroAssembler* masm, |
| 570 Handle<HeapType> type, |
570 Register receiver, | 571 Register receiver, |
571 Handle<JSFunction> getter); | 572 Handle<JSFunction> getter); |
572 | 573 |
573 Handle<Code> CompileLoadNonexistent(Handle<HeapType> type, | 574 Handle<Code> CompileLoadNonexistent(Handle<HeapType> type, |
574 Handle<JSObject> last, | 575 Handle<JSObject> last, |
575 Handle<Name> name); | 576 Handle<Name> name); |
576 | 577 |
577 Handle<Code> CompileLoadGlobal(Handle<HeapType> type, | 578 Handle<Code> CompileLoadGlobal(Handle<HeapType> type, |
578 Handle<GlobalObject> holder, | 579 Handle<GlobalObject> holder, |
579 Handle<PropertyCell> cell, | 580 Handle<PropertyCell> cell, |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 Handle<JSObject> holder, | 706 Handle<JSObject> holder, |
706 Handle<Name> name, | 707 Handle<Name> name, |
707 Handle<ExecutableAccessorInfo> callback); | 708 Handle<ExecutableAccessorInfo> callback); |
708 | 709 |
709 Handle<Code> CompileStoreCallback(Handle<JSObject> object, | 710 Handle<Code> CompileStoreCallback(Handle<JSObject> object, |
710 Handle<JSObject> holder, | 711 Handle<JSObject> holder, |
711 Handle<Name> name, | 712 Handle<Name> name, |
712 const CallOptimization& call_optimization); | 713 const CallOptimization& call_optimization); |
713 | 714 |
714 static void GenerateStoreViaSetter(MacroAssembler* masm, | 715 static void GenerateStoreViaSetter(MacroAssembler* masm, |
| 716 Handle<HeapType> type, |
715 Handle<JSFunction> setter); | 717 Handle<JSFunction> setter); |
716 | 718 |
717 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, | 719 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, |
718 Handle<JSObject> holder, | 720 Handle<JSObject> holder, |
719 Handle<Name> name, | 721 Handle<Name> name, |
720 Handle<JSFunction> setter); | 722 Handle<JSFunction> setter); |
721 | 723 |
722 Handle<Code> CompileStoreInterceptor(Handle<JSObject> object, | 724 Handle<Code> CompileStoreInterceptor(Handle<JSObject> object, |
723 Handle<Name> name); | 725 Handle<Name> name); |
724 | 726 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 Handle<JSFunction> constant_function_; | 844 Handle<JSFunction> constant_function_; |
843 bool is_simple_api_call_; | 845 bool is_simple_api_call_; |
844 Handle<FunctionTemplateInfo> expected_receiver_type_; | 846 Handle<FunctionTemplateInfo> expected_receiver_type_; |
845 Handle<CallHandlerInfo> api_call_info_; | 847 Handle<CallHandlerInfo> api_call_info_; |
846 }; | 848 }; |
847 | 849 |
848 | 850 |
849 } } // namespace v8::internal | 851 } } // namespace v8::internal |
850 | 852 |
851 #endif // V8_STUB_CACHE_H_ | 853 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |