OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_STUB_CACHE_H_ | 5 #ifndef V8_STUB_CACHE_H_ |
6 #define V8_STUB_CACHE_H_ | 6 #define V8_STUB_CACHE_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 // --- | 86 // --- |
87 | 87 |
88 Handle<Code> ComputeLoad(InlineCacheState ic_state, ExtraICState extra_state); | 88 Handle<Code> ComputeLoad(InlineCacheState ic_state, ExtraICState extra_state); |
89 Handle<Code> ComputeStore(InlineCacheState ic_state, | 89 Handle<Code> ComputeStore(InlineCacheState ic_state, |
90 ExtraICState extra_state); | 90 ExtraICState extra_state); |
91 | 91 |
92 // --- | 92 // --- |
93 | 93 |
94 Handle<Code> ComputeCompareNil(Handle<Map> receiver_map, | 94 Handle<Code> ComputeCompareNil(Handle<Map> receiver_map, |
95 CompareNilICStub& stub); | 95 CompareNilICStub* stub); |
96 | 96 |
97 // --- | 97 // --- |
98 | 98 |
99 Handle<Code> ComputeLoadElementPolymorphic(MapHandleList* receiver_maps); | 99 Handle<Code> ComputeLoadElementPolymorphic(MapHandleList* receiver_maps); |
100 Handle<Code> ComputeStoreElementPolymorphic(MapHandleList* receiver_maps, | 100 Handle<Code> ComputeStoreElementPolymorphic(MapHandleList* receiver_maps, |
101 KeyedAccessStoreMode store_mode, | 101 KeyedAccessStoreMode store_mode, |
102 StrictMode strict_mode); | 102 StrictMode strict_mode); |
103 | 103 |
104 Handle<Code> ComputePolymorphicIC(Code::Kind kind, | 104 Handle<Code> ComputePolymorphicIC(Code::Kind kind, |
105 TypeHandleList* types, | 105 TypeHandleList* types, |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 Handle<JSFunction> constant_function_; | 826 Handle<JSFunction> constant_function_; |
827 bool is_simple_api_call_; | 827 bool is_simple_api_call_; |
828 Handle<FunctionTemplateInfo> expected_receiver_type_; | 828 Handle<FunctionTemplateInfo> expected_receiver_type_; |
829 Handle<CallHandlerInfo> api_call_info_; | 829 Handle<CallHandlerInfo> api_call_info_; |
830 }; | 830 }; |
831 | 831 |
832 | 832 |
833 } } // namespace v8::internal | 833 } } // namespace v8::internal |
834 | 834 |
835 #endif // V8_STUB_CACHE_H_ | 835 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |