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

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

Issue 10532063: Optimistically assume that elements IC only transition once. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 8 years, 6 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/objects-printer.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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 StrictModeFlag strict_mode); 162 StrictModeFlag strict_mode);
163 163
164 // --- 164 // ---
165 165
166 Handle<Code> ComputeKeyedStoreField(Handle<String> name, 166 Handle<Code> ComputeKeyedStoreField(Handle<String> name,
167 Handle<JSObject> receiver, 167 Handle<JSObject> receiver,
168 int field_index, 168 int field_index,
169 Handle<Map> transition, 169 Handle<Map> transition,
170 StrictModeFlag strict_mode); 170 StrictModeFlag strict_mode);
171 171
172 Handle<Code> ComputeKeyedLoadOrStoreElement(Handle<JSObject> receiver, 172 Handle<Code> ComputeKeyedLoadOrStoreElement(Handle<Map> receiver_map,
173 KeyedIC::StubKind stub_kind, 173 KeyedIC::StubKind stub_kind,
174 StrictModeFlag strict_mode); 174 StrictModeFlag strict_mode);
175 175
176 // --- 176 // ---
177 177
178 Handle<Code> ComputeCallField(int argc, 178 Handle<Code> ComputeCallField(int argc,
179 Code::Kind, 179 Code::Kind,
180 Code::ExtraICState extra_state, 180 Code::ExtraICState extra_state,
181 Handle<String> name, 181 Handle<String> name,
182 Handle<Object> object, 182 Handle<Object> object,
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 Handle<JSFunction> constant_function_; 894 Handle<JSFunction> constant_function_;
895 bool is_simple_api_call_; 895 bool is_simple_api_call_;
896 Handle<FunctionTemplateInfo> expected_receiver_type_; 896 Handle<FunctionTemplateInfo> expected_receiver_type_;
897 Handle<CallHandlerInfo> api_call_info_; 897 Handle<CallHandlerInfo> api_call_info_;
898 }; 898 };
899 899
900 900
901 } } // namespace v8::internal 901 } } // namespace v8::internal
902 902
903 #endif // V8_STUB_CACHE_H_ 903 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698