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

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

Issue 6546036: Combine typed and pixel arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: final version Created 9 years, 9 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/stub-cache.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 bool StoreIsMonomorphic(Assignment* expr); 242 bool StoreIsMonomorphic(Assignment* expr);
243 bool CallIsMonomorphic(Call* expr); 243 bool CallIsMonomorphic(Call* expr);
244 244
245 Handle<Map> LoadMonomorphicReceiverType(Property* expr); 245 Handle<Map> LoadMonomorphicReceiverType(Property* expr);
246 Handle<Map> StoreMonomorphicReceiverType(Assignment* expr); 246 Handle<Map> StoreMonomorphicReceiverType(Assignment* expr);
247 247
248 ZoneMapList* LoadReceiverTypes(Property* expr, Handle<String> name); 248 ZoneMapList* LoadReceiverTypes(Property* expr, Handle<String> name);
249 ZoneMapList* StoreReceiverTypes(Assignment* expr, Handle<String> name); 249 ZoneMapList* StoreReceiverTypes(Assignment* expr, Handle<String> name);
250 ZoneMapList* CallReceiverTypes(Call* expr, Handle<String> name); 250 ZoneMapList* CallReceiverTypes(Call* expr, Handle<String> name);
251 251
252 ExternalArrayType GetKeyedLoadExternalArrayType(Property* expr);
253 ExternalArrayType GetKeyedStoreExternalArrayType(Assignment* expr);
254
252 CheckType GetCallCheckType(Call* expr); 255 CheckType GetCallCheckType(Call* expr);
253 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); 256 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check);
254 257
255 bool LoadIsBuiltin(Property* expr, Builtins::Name id); 258 bool LoadIsBuiltin(Property* expr, Builtins::Name id);
256 259
257 // Get type information for arithmetic operations and compares. 260 // Get type information for arithmetic operations and compares.
258 TypeInfo BinaryType(BinaryOperation* expr); 261 TypeInfo BinaryType(BinaryOperation* expr);
259 TypeInfo CompareType(CompareOperation* expr); 262 TypeInfo CompareType(CompareOperation* expr);
260 TypeInfo SwitchType(CaseClause* clause); 263 TypeInfo SwitchType(CaseClause* clause);
261 264
(...skipping 14 matching lines...) Expand all
276 279
277 Handle<Context> global_context_; 280 Handle<Context> global_context_;
278 Handle<NumberDictionary> dictionary_; 281 Handle<NumberDictionary> dictionary_;
279 282
280 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 283 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
281 }; 284 };
282 285
283 } } // namespace v8::internal 286 } } // namespace v8::internal
284 287
285 #endif // V8_TYPE_INFO_H_ 288 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/stub-cache.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698