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

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

Issue 8883011: Implement ICs for constructor calls. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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/objects-inl.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 Handle<String> name, 203 Handle<String> name,
204 Handle<JSObject> receiver, 204 Handle<JSObject> receiver,
205 Handle<GlobalObject> holder, 205 Handle<GlobalObject> holder,
206 Handle<JSGlobalPropertyCell> cell, 206 Handle<JSGlobalPropertyCell> cell,
207 Handle<JSFunction> function); 207 Handle<JSFunction> function);
208 208
209 // --- 209 // ---
210 210
211 Handle<Code> ComputeCallInitialize(int argc, RelocInfo::Mode mode); 211 Handle<Code> ComputeCallInitialize(int argc, RelocInfo::Mode mode);
212 212
213 Handle<Code> ComputeKeyedCallInitialize(int argc); 213 Handle<Code> ComputeKeyedCallInitialize(int argc, RelocInfo::Mode mode);
214 214
215 Handle<Code> ComputeCallPreMonomorphic(int argc, 215 Handle<Code> ComputeCallPreMonomorphic(int argc,
216 Code::Kind kind, 216 Code::Kind kind,
217 Code::ExtraICState extra_state); 217 Code::ExtraICState extra_state);
218 218
219 Handle<Code> ComputeCallNormal(int argc, 219 Handle<Code> ComputeCallNormal(int argc,
220 Code::Kind kind, 220 Code::Kind kind,
221 Code::ExtraICState state); 221 Code::ExtraICState state);
222 222
223 Handle<Code> ComputeCallArguments(int argc, Code::Kind kind); 223 Handle<Code> ComputeCallArguments(int argc,
224 Code::Kind kind,
225 Code::ExtraICState state);
224 226
225 Handle<Code> ComputeCallMegamorphic(int argc, 227 Handle<Code> ComputeCallMegamorphic(int argc,
226 Code::Kind kind, 228 Code::Kind kind,
227 Code::ExtraICState state); 229 Code::ExtraICState state);
228 230
229 Handle<Code> ComputeCallMiss(int argc, 231 Handle<Code> ComputeCallMiss(int argc,
230 Code::Kind kind, 232 Code::Kind kind,
231 Code::ExtraICState state); 233 Code::ExtraICState state);
232 234
233 // Finds the Code object stored in the Heap::non_monomorphic_cache(). 235 // Finds the Code object stored in the Heap::non_monomorphic_cache().
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 Handle<JSFunction> constant_function_; 859 Handle<JSFunction> constant_function_;
858 bool is_simple_api_call_; 860 bool is_simple_api_call_;
859 Handle<FunctionTemplateInfo> expected_receiver_type_; 861 Handle<FunctionTemplateInfo> expected_receiver_type_;
860 Handle<CallHandlerInfo> api_call_info_; 862 Handle<CallHandlerInfo> api_call_info_;
861 }; 863 };
862 864
863 865
864 } } // namespace v8::internal 866 } } // namespace v8::internal
865 867
866 #endif // V8_STUB_CACHE_H_ 868 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698