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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 152 |
153 Handle<Code> ComputeStoreNormal(StrictModeFlag strict_mode); | 153 Handle<Code> ComputeStoreNormal(StrictModeFlag strict_mode); |
154 | 154 |
155 Handle<Code> ComputeStoreGlobal(Handle<String> name, | 155 Handle<Code> ComputeStoreGlobal(Handle<String> name, |
156 Handle<GlobalObject> receiver, | 156 Handle<GlobalObject> receiver, |
157 Handle<JSGlobalPropertyCell> cell, | 157 Handle<JSGlobalPropertyCell> cell, |
158 StrictModeFlag strict_mode); | 158 StrictModeFlag strict_mode); |
159 | 159 |
160 Handle<Code> ComputeStoreCallback(Handle<String> name, | 160 Handle<Code> ComputeStoreCallback(Handle<String> name, |
161 Handle<JSObject> receiver, | 161 Handle<JSObject> receiver, |
| 162 Handle<JSObject> holder, |
162 Handle<AccessorInfo> callback, | 163 Handle<AccessorInfo> callback, |
163 StrictModeFlag strict_mode); | 164 StrictModeFlag strict_mode); |
164 | 165 |
165 Handle<Code> ComputeStoreViaSetter(Handle<String> name, | 166 Handle<Code> ComputeStoreViaSetter(Handle<String> name, |
166 Handle<JSObject> receiver, | 167 Handle<JSObject> receiver, |
167 Handle<JSObject> holder, | 168 Handle<JSObject> holder, |
168 Handle<JSFunction> setter, | 169 Handle<JSFunction> setter, |
169 StrictModeFlag strict_mode); | 170 StrictModeFlag strict_mode); |
170 | 171 |
171 Handle<Code> ComputeStoreInterceptor(Handle<String> name, | 172 Handle<Code> ComputeStoreInterceptor(Handle<String> name, |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 public: | 698 public: |
698 StoreStubCompiler(Isolate* isolate, StrictModeFlag strict_mode) | 699 StoreStubCompiler(Isolate* isolate, StrictModeFlag strict_mode) |
699 : StubCompiler(isolate), strict_mode_(strict_mode) { } | 700 : StubCompiler(isolate), strict_mode_(strict_mode) { } |
700 | 701 |
701 | 702 |
702 Handle<Code> CompileStoreField(Handle<JSObject> object, | 703 Handle<Code> CompileStoreField(Handle<JSObject> object, |
703 int index, | 704 int index, |
704 Handle<Map> transition, | 705 Handle<Map> transition, |
705 Handle<String> name); | 706 Handle<String> name); |
706 | 707 |
707 Handle<Code> CompileStoreCallback(Handle<JSObject> object, | 708 Handle<Code> CompileStoreCallback(Handle<String> name, |
708 Handle<AccessorInfo> callback, | 709 Handle<JSObject> receiver, |
709 Handle<String> name); | 710 Handle<JSObject> holder, |
| 711 Handle<AccessorInfo> callback); |
710 | 712 |
711 static void GenerateStoreViaSetter(MacroAssembler* masm, | 713 static void GenerateStoreViaSetter(MacroAssembler* masm, |
712 Handle<JSFunction> setter); | 714 Handle<JSFunction> setter); |
713 | 715 |
714 Handle<Code> CompileStoreViaSetter(Handle<String> name, | 716 Handle<Code> CompileStoreViaSetter(Handle<String> name, |
715 Handle<JSObject> receiver, | 717 Handle<JSObject> receiver, |
716 Handle<JSObject> holder, | 718 Handle<JSObject> holder, |
717 Handle<JSFunction> setter); | 719 Handle<JSFunction> setter); |
718 | 720 |
719 Handle<Code> CompileStoreInterceptor(Handle<JSObject> object, | 721 Handle<Code> CompileStoreInterceptor(Handle<JSObject> object, |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 Handle<JSFunction> constant_function_; | 931 Handle<JSFunction> constant_function_; |
930 bool is_simple_api_call_; | 932 bool is_simple_api_call_; |
931 Handle<FunctionTemplateInfo> expected_receiver_type_; | 933 Handle<FunctionTemplateInfo> expected_receiver_type_; |
932 Handle<CallHandlerInfo> api_call_info_; | 934 Handle<CallHandlerInfo> api_call_info_; |
933 }; | 935 }; |
934 | 936 |
935 | 937 |
936 } } // namespace v8::internal | 938 } } // namespace v8::internal |
937 | 939 |
938 #endif // V8_STUB_CACHE_H_ | 940 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |