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

Side by Side Diff: src/type-info.h

Issue 7150010: Distinguish keyed loads with a symbol key from fast elements loads. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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/ast.cc ('k') | src/type-info.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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 class CompareOperation; 208 class CompareOperation;
209 class CountOperation; 209 class CountOperation;
210 class CompilationInfo; 210 class CompilationInfo;
211 class Property; 211 class Property;
212 class CaseClause; 212 class CaseClause;
213 213
214 class TypeFeedbackOracle BASE_EMBEDDED { 214 class TypeFeedbackOracle BASE_EMBEDDED {
215 public: 215 public:
216 TypeFeedbackOracle(Handle<Code> code, Handle<Context> global_context); 216 TypeFeedbackOracle(Handle<Code> code, Handle<Context> global_context);
217 217
218 bool LoadIsMonomorphic(Property* expr); 218 bool LoadIsMonomorphicNormal(Property* expr);
219 bool StoreIsMonomorphic(Expression* expr); 219 bool StoreIsMonomorphicNormal(Expression* expr);
220 bool CallIsMonomorphic(Call* expr); 220 bool CallIsMonomorphic(Call* expr);
221 221
222 Handle<Map> LoadMonomorphicReceiverType(Property* expr); 222 Handle<Map> LoadMonomorphicReceiverType(Property* expr);
223 Handle<Map> StoreMonomorphicReceiverType(Expression* expr); 223 Handle<Map> StoreMonomorphicReceiverType(Expression* expr);
224 224
225 ZoneMapList* LoadReceiverTypes(Property* expr, Handle<String> name); 225 ZoneMapList* LoadReceiverTypes(Property* expr, Handle<String> name);
226 ZoneMapList* StoreReceiverTypes(Assignment* expr, Handle<String> name); 226 ZoneMapList* StoreReceiverTypes(Assignment* expr, Handle<String> name);
227 ZoneMapList* CallReceiverTypes(Call* expr, 227 ZoneMapList* CallReceiverTypes(Call* expr,
228 Handle<String> name, 228 Handle<String> name,
229 CallKind call_kind); 229 CallKind call_kind);
(...skipping 30 matching lines...) Expand all
260 260
261 Handle<Context> global_context_; 261 Handle<Context> global_context_;
262 Handle<NumberDictionary> dictionary_; 262 Handle<NumberDictionary> dictionary_;
263 263
264 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 264 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
265 }; 265 };
266 266
267 } } // namespace v8::internal 267 } } // namespace v8::internal
268 268
269 #endif // V8_TYPE_INFO_H_ 269 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698