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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 Handle<Code> ComputeKeyedLoadConstant(Handle<String> name, | 127 Handle<Code> ComputeKeyedLoadConstant(Handle<String> name, |
128 Handle<JSObject> receiver, | 128 Handle<JSObject> receiver, |
129 Handle<JSObject> holder, | 129 Handle<JSObject> holder, |
130 Handle<JSFunction> value); | 130 Handle<JSFunction> value); |
131 | 131 |
132 Handle<Code> ComputeKeyedLoadInterceptor(Handle<String> name, | 132 Handle<Code> ComputeKeyedLoadInterceptor(Handle<String> name, |
133 Handle<JSObject> receiver, | 133 Handle<JSObject> receiver, |
134 Handle<JSObject> holder); | 134 Handle<JSObject> holder); |
135 | 135 |
136 Handle<Code> ComputeKeyedLoadArrayLength(Handle<String> name, | |
137 Handle<JSArray> receiver); | |
138 | |
139 Handle<Code> ComputeKeyedLoadFunctionPrototype(Handle<String> name, | 136 Handle<Code> ComputeKeyedLoadFunctionPrototype(Handle<String> name, |
140 Handle<JSFunction> receiver); | 137 Handle<JSFunction> receiver); |
141 | 138 |
142 // --- | 139 // --- |
143 | 140 |
144 Handle<Code> ComputeStoreField(Handle<String> name, | 141 Handle<Code> ComputeStoreField(Handle<String> name, |
145 Handle<JSObject> receiver, | 142 Handle<JSObject> receiver, |
146 int field_index, | 143 int field_index, |
147 Handle<Map> transition, | 144 Handle<Map> transition, |
148 StrictModeFlag strict_mode); | 145 StrictModeFlag strict_mode); |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 | 657 |
661 Handle<Code> CompileLoadConstant(Handle<String> name, | 658 Handle<Code> CompileLoadConstant(Handle<String> name, |
662 Handle<JSObject> object, | 659 Handle<JSObject> object, |
663 Handle<JSObject> holder, | 660 Handle<JSObject> holder, |
664 Handle<JSFunction> value); | 661 Handle<JSFunction> value); |
665 | 662 |
666 Handle<Code> CompileLoadInterceptor(Handle<JSObject> object, | 663 Handle<Code> CompileLoadInterceptor(Handle<JSObject> object, |
667 Handle<JSObject> holder, | 664 Handle<JSObject> holder, |
668 Handle<String> name); | 665 Handle<String> name); |
669 | 666 |
670 Handle<Code> CompileLoadArrayLength(Handle<String> name); | |
671 | |
672 Handle<Code> CompileLoadFunctionPrototype(Handle<String> name); | 667 Handle<Code> CompileLoadFunctionPrototype(Handle<String> name); |
673 | 668 |
674 Handle<Code> CompileLoadElement(Handle<Map> receiver_map); | 669 Handle<Code> CompileLoadElement(Handle<Map> receiver_map); |
675 | 670 |
676 Handle<Code> CompileLoadPolymorphic(MapHandleList* receiver_maps, | 671 Handle<Code> CompileLoadPolymorphic(MapHandleList* receiver_maps, |
677 CodeHandleList* handler_ics); | 672 CodeHandleList* handler_ics); |
678 | 673 |
679 static void GenerateLoadDictionaryElement(MacroAssembler* masm); | 674 static void GenerateLoadDictionaryElement(MacroAssembler* masm); |
680 | 675 |
681 private: | 676 private: |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 Handle<JSFunction> constant_function_; | 917 Handle<JSFunction> constant_function_; |
923 bool is_simple_api_call_; | 918 bool is_simple_api_call_; |
924 Handle<FunctionTemplateInfo> expected_receiver_type_; | 919 Handle<FunctionTemplateInfo> expected_receiver_type_; |
925 Handle<CallHandlerInfo> api_call_info_; | 920 Handle<CallHandlerInfo> api_call_info_; |
926 }; | 921 }; |
927 | 922 |
928 | 923 |
929 } } // namespace v8::internal | 924 } } // namespace v8::internal |
930 | 925 |
931 #endif // V8_STUB_CACHE_H_ | 926 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |