OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |