Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: src/stub-cache.h

Issue 64023003: Cleanup stub-cache's obsolete ComputeLoad/Store interface. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ic.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 Handle<Name> name, 100 Handle<Name> name,
101 StrictModeFlag strict_mode); 101 StrictModeFlag strict_mode);
102 102
103 // Computes the right stub matching. Inserts the result in the 103 // Computes the right stub matching. Inserts the result in the
104 // cache before returning. This might compile a stub if needed. 104 // cache before returning. This might compile a stub if needed.
105 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, 105 Handle<Code> ComputeLoadNonexistent(Handle<Name> name,
106 Handle<JSObject> object); 106 Handle<JSObject> object);
107 107
108 // --- 108 // ---
109 109
110 Handle<Code> ComputeKeyedLoadField(Handle<Name> name,
111 Handle<JSObject> object,
112 Handle<JSObject> holder,
113 PropertyIndex field_index,
114 Representation representation);
115
116 Handle<Code> ComputeKeyedLoadCallback(
117 Handle<Name> name,
118 Handle<JSObject> object,
119 Handle<JSObject> holder,
120 Handle<ExecutableAccessorInfo> callback);
121
122 Handle<Code> ComputeKeyedLoadCallback(
123 Handle<Name> name,
124 Handle<JSObject> object,
125 Handle<JSObject> holder,
126 const CallOptimization& call_optimization);
127
128 Handle<Code> ComputeKeyedLoadConstant(Handle<Name> name,
129 Handle<JSObject> object,
130 Handle<JSObject> holder,
131 Handle<Object> value);
132
133 Handle<Code> ComputeKeyedLoadInterceptor(Handle<Name> name,
134 Handle<JSObject> object,
135 Handle<JSObject> holder);
136
137 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map); 110 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map);
138 111
139 Handle<Code> ComputeKeyedStoreElement(Handle<Map> receiver_map, 112 Handle<Code> ComputeKeyedStoreElement(Handle<Map> receiver_map,
140 StrictModeFlag strict_mode, 113 StrictModeFlag strict_mode,
141 KeyedAccessStoreMode store_mode); 114 KeyedAccessStoreMode store_mode);
142 115
143 Handle<Code> ComputeCallField(int argc, 116 Handle<Code> ComputeCallField(int argc,
144 Code::Kind, 117 Code::Kind,
145 Code::ExtraICState extra_state, 118 Code::ExtraICState extra_state,
146 Handle<Name> name, 119 Handle<Name> name,
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 Handle<JSFunction> constant_function_; 1059 Handle<JSFunction> constant_function_;
1087 bool is_simple_api_call_; 1060 bool is_simple_api_call_;
1088 Handle<FunctionTemplateInfo> expected_receiver_type_; 1061 Handle<FunctionTemplateInfo> expected_receiver_type_;
1089 Handle<CallHandlerInfo> api_call_info_; 1062 Handle<CallHandlerInfo> api_call_info_;
1090 }; 1063 };
1091 1064
1092 1065
1093 } } // namespace v8::internal 1066 } } // namespace v8::internal
1094 1067
1095 #endif // V8_STUB_CACHE_H_ 1068 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698