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

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

Issue 23549019: store ics for js api accessors (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: no snprintf Created 7 years, 3 months 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') | 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 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 Handle<PropertyCell> cell, 215 Handle<PropertyCell> cell,
216 Handle<Object> value, 216 Handle<Object> value,
217 StrictModeFlag strict_mode); 217 StrictModeFlag strict_mode);
218 218
219 Handle<Code> ComputeStoreCallback(Handle<Name> name, 219 Handle<Code> ComputeStoreCallback(Handle<Name> name,
220 Handle<JSObject> object, 220 Handle<JSObject> object,
221 Handle<JSObject> holder, 221 Handle<JSObject> holder,
222 Handle<ExecutableAccessorInfo> callback, 222 Handle<ExecutableAccessorInfo> callback,
223 StrictModeFlag strict_mode); 223 StrictModeFlag strict_mode);
224 224
225 Handle<Code> ComputeStoreCallback(Handle<Name> name,
226 Handle<JSObject> object,
227 Handle<JSObject> holder,
228 const CallOptimization& call_optimation,
229 StrictModeFlag strict_mode);
230
225 Handle<Code> ComputeStoreViaSetter(Handle<Name> name, 231 Handle<Code> ComputeStoreViaSetter(Handle<Name> name,
226 Handle<JSObject> object, 232 Handle<JSObject> object,
227 Handle<JSObject> holder, 233 Handle<JSObject> holder,
228 Handle<JSFunction> setter, 234 Handle<JSFunction> setter,
229 StrictModeFlag strict_mode); 235 StrictModeFlag strict_mode);
230 236
231 Handle<Code> ComputeStoreInterceptor(Handle<Name> name, 237 Handle<Code> ComputeStoreInterceptor(Handle<Name> name,
232 Handle<JSObject> object, 238 Handle<JSObject> object,
233 StrictModeFlag strict_mode); 239 StrictModeFlag strict_mode);
234 240
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 public: 959 public:
954 StoreStubCompiler(Isolate* isolate, StrictModeFlag strict_mode) 960 StoreStubCompiler(Isolate* isolate, StrictModeFlag strict_mode)
955 : BaseStoreStubCompiler(isolate, strict_mode, registers()) { } 961 : BaseStoreStubCompiler(isolate, strict_mode, registers()) { }
956 962
957 963
958 Handle<Code> CompileStoreCallback(Handle<JSObject> object, 964 Handle<Code> CompileStoreCallback(Handle<JSObject> object,
959 Handle<JSObject> holder, 965 Handle<JSObject> holder,
960 Handle<Name> name, 966 Handle<Name> name,
961 Handle<ExecutableAccessorInfo> callback); 967 Handle<ExecutableAccessorInfo> callback);
962 968
969 Handle<Code> CompileStoreCallback(Handle<JSObject> object,
970 Handle<JSObject> holder,
971 Handle<Name> name,
972 const CallOptimization& call_optimization);
973
963 static void GenerateStoreViaSetter(MacroAssembler* masm, 974 static void GenerateStoreViaSetter(MacroAssembler* masm,
964 Handle<JSFunction> setter); 975 Handle<JSFunction> setter);
965 976
966 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object, 977 Handle<Code> CompileStoreViaSetter(Handle<JSObject> object,
967 Handle<JSObject> holder, 978 Handle<JSObject> holder,
968 Handle<Name> name, 979 Handle<Name> name,
969 Handle<JSFunction> setter); 980 Handle<JSFunction> setter);
970 981
971 Handle<Code> CompileStoreInterceptor(Handle<JSObject> object, 982 Handle<Code> CompileStoreInterceptor(Handle<JSObject> object,
972 Handle<Name> name); 983 Handle<Name> name);
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 Handle<JSFunction> constant_function_; 1205 Handle<JSFunction> constant_function_;
1195 bool is_simple_api_call_; 1206 bool is_simple_api_call_;
1196 Handle<FunctionTemplateInfo> expected_receiver_type_; 1207 Handle<FunctionTemplateInfo> expected_receiver_type_;
1197 Handle<CallHandlerInfo> api_call_info_; 1208 Handle<CallHandlerInfo> api_call_info_;
1198 }; 1209 };
1199 1210
1200 1211
1201 } } // namespace v8::internal 1212 } } // namespace v8::internal
1202 1213
1203 #endif // V8_STUB_CACHE_H_ 1214 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698