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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 Handle<Name> name, | 96 Handle<Name> name, |
97 Handle<HeapType> type, | 97 Handle<HeapType> type, |
98 Handle<Code> handler, | 98 Handle<Code> handler, |
99 ExtraICState extra_ic_state); | 99 ExtraICState extra_ic_state); |
100 | 100 |
101 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, Handle<HeapType> type); | 101 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, Handle<HeapType> type); |
102 | 102 |
103 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map); | 103 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map); |
104 | 104 |
105 Handle<Code> ComputeKeyedStoreElement(Handle<Map> receiver_map, | 105 Handle<Code> ComputeKeyedStoreElement(Handle<Map> receiver_map, |
106 StrictModeFlag strict_mode, | 106 StrictMode strict_mode, |
107 KeyedAccessStoreMode store_mode); | 107 KeyedAccessStoreMode store_mode); |
108 | 108 |
109 // --- | 109 // --- |
110 | 110 |
111 Handle<Code> ComputeLoad(InlineCacheState ic_state, ExtraICState extra_state); | 111 Handle<Code> ComputeLoad(InlineCacheState ic_state, ExtraICState extra_state); |
112 Handle<Code> ComputeStore(InlineCacheState ic_state, | 112 Handle<Code> ComputeStore(InlineCacheState ic_state, |
113 ExtraICState extra_state); | 113 ExtraICState extra_state); |
114 | 114 |
115 // --- | 115 // --- |
116 | 116 |
117 Handle<Code> ComputeCompareNil(Handle<Map> receiver_map, | 117 Handle<Code> ComputeCompareNil(Handle<Map> receiver_map, |
118 CompareNilICStub& stub); | 118 CompareNilICStub& stub); |
119 | 119 |
120 // --- | 120 // --- |
121 | 121 |
122 Handle<Code> ComputeLoadElementPolymorphic(MapHandleList* receiver_maps); | 122 Handle<Code> ComputeLoadElementPolymorphic(MapHandleList* receiver_maps); |
123 Handle<Code> ComputeStoreElementPolymorphic(MapHandleList* receiver_maps, | 123 Handle<Code> ComputeStoreElementPolymorphic(MapHandleList* receiver_maps, |
124 KeyedAccessStoreMode store_mode, | 124 KeyedAccessStoreMode store_mode, |
125 StrictModeFlag strict_mode); | 125 StrictMode strict_mode); |
126 | 126 |
127 Handle<Code> ComputePolymorphicIC(Code::Kind kind, | 127 Handle<Code> ComputePolymorphicIC(Code::Kind kind, |
128 TypeHandleList* types, | 128 TypeHandleList* types, |
129 CodeHandleList* handlers, | 129 CodeHandleList* handlers, |
130 int number_of_valid_maps, | 130 int number_of_valid_maps, |
131 Handle<Name> name, | 131 Handle<Name> name, |
132 ExtraICState extra_ic_state); | 132 ExtraICState extra_ic_state); |
133 | 133 |
134 // Finds the Code object stored in the Heap::non_monomorphic_cache(). | 134 // Finds the Code object stored in the Heap::non_monomorphic_cache(). |
135 Code* FindPreMonomorphicIC(Code::Kind kind, ExtraICState extra_ic_state); | 135 Code* FindPreMonomorphicIC(Code::Kind kind, ExtraICState extra_ic_state); |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 Handle<JSFunction> constant_function_; | 856 Handle<JSFunction> constant_function_; |
857 bool is_simple_api_call_; | 857 bool is_simple_api_call_; |
858 Handle<FunctionTemplateInfo> expected_receiver_type_; | 858 Handle<FunctionTemplateInfo> expected_receiver_type_; |
859 Handle<CallHandlerInfo> api_call_info_; | 859 Handle<CallHandlerInfo> api_call_info_; |
860 }; | 860 }; |
861 | 861 |
862 | 862 |
863 } } // namespace v8::internal | 863 } } // namespace v8::internal |
864 | 864 |
865 #endif // V8_STUB_CACHE_H_ | 865 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |