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

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

Issue 12340112: Polymorphism support for load IC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added ARM port, introduced GenerateTailCall Created 7 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 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 Handle<String> name, 265 Handle<String> name,
266 CallKind call_kind, 266 CallKind call_kind,
267 SmallMapList* types); 267 SmallMapList* types);
268 void CollectKeyedReceiverTypes(TypeFeedbackId ast_id, 268 void CollectKeyedReceiverTypes(TypeFeedbackId ast_id,
269 SmallMapList* types); 269 SmallMapList* types);
270 270
271 static bool CanRetainOtherContext(Map* map, Context* native_context); 271 static bool CanRetainOtherContext(Map* map, Context* native_context);
272 static bool CanRetainOtherContext(JSFunction* function, 272 static bool CanRetainOtherContext(JSFunction* function,
273 Context* native_context); 273 Context* native_context);
274 274
275 void CollectPolymorphicMaps(Handle<Code> code, SmallMapList* types);
276
275 CheckType GetCallCheckType(Call* expr); 277 CheckType GetCallCheckType(Call* expr);
276 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); 278 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check);
277 279
278 Handle<JSFunction> GetCallTarget(Call* expr); 280 Handle<JSFunction> GetCallTarget(Call* expr);
279 Handle<JSFunction> GetCallNewTarget(CallNew* expr); 281 Handle<JSFunction> GetCallNewTarget(CallNew* expr);
280 ElementsKind GetCallNewElementsKind(CallNew* expr); 282 ElementsKind GetCallNewElementsKind(CallNew* expr);
281 283
282 Handle<Map> GetObjectLiteralStoreMap(ObjectLiteral::Property* prop); 284 Handle<Map> GetObjectLiteralStoreMap(ObjectLiteral::Property* prop);
283 285
284 bool LoadIsBuiltin(Property* expr, Builtins::Name id); 286 bool LoadIsBuiltin(Property* expr, Builtins::Name id);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 Isolate* isolate_; 336 Isolate* isolate_;
335 Handle<UnseededNumberDictionary> dictionary_; 337 Handle<UnseededNumberDictionary> dictionary_;
336 Zone* zone_; 338 Zone* zone_;
337 339
338 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 340 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
339 }; 341 };
340 342
341 } } // namespace v8::internal 343 } } // namespace v8::internal
342 344
343 #endif // V8_TYPE_INFO_H_ 345 #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