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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 Handle<Code> FindIC(Handle<Name> name, | 83 Handle<Code> FindIC(Handle<Name> name, |
84 Handle<Map> stub_holder_map, | 84 Handle<Map> stub_holder_map, |
85 Code::Kind kind, | 85 Code::Kind kind, |
86 ExtraICState extra_state = kNoExtraICState, | 86 ExtraICState extra_state = kNoExtraICState, |
87 InlineCacheHolderFlag cache_holder = OWN_MAP); | 87 InlineCacheHolderFlag cache_holder = OWN_MAP); |
88 | 88 |
89 Handle<Code> FindHandler(Handle<Name> name, | 89 Handle<Code> FindHandler(Handle<Name> name, |
90 Handle<Map> map, | 90 Handle<Map> map, |
91 Code::Kind kind, | 91 Code::Kind kind, |
92 InlineCacheHolderFlag cache_holder = OWN_MAP); | 92 InlineCacheHolderFlag cache_holder, |
| 93 Code::StubType type); |
93 | 94 |
94 Handle<Code> ComputeMonomorphicIC(Code::Kind kind, | 95 Handle<Code> ComputeMonomorphicIC(Code::Kind kind, |
95 Handle<Name> name, | 96 Handle<Name> name, |
96 Handle<HeapType> type, | 97 Handle<HeapType> type, |
97 Handle<Code> handler, | 98 Handle<Code> handler, |
98 ExtraICState extra_ic_state); | 99 ExtraICState extra_ic_state); |
99 | 100 |
100 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, Handle<HeapType> type); | 101 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, Handle<HeapType> type); |
101 | 102 |
102 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map); | 103 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map); |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 Handle<JSFunction> constant_function_; | 856 Handle<JSFunction> constant_function_; |
856 bool is_simple_api_call_; | 857 bool is_simple_api_call_; |
857 Handle<FunctionTemplateInfo> expected_receiver_type_; | 858 Handle<FunctionTemplateInfo> expected_receiver_type_; |
858 Handle<CallHandlerInfo> api_call_info_; | 859 Handle<CallHandlerInfo> api_call_info_; |
859 }; | 860 }; |
860 | 861 |
861 | 862 |
862 } } // namespace v8::internal | 863 } } // namespace v8::internal |
863 | 864 |
864 #endif // V8_STUB_CACHE_H_ | 865 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |