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 249 matching lines...) Loading... |
260 SmallMapList* types); | 260 SmallMapList* types); |
261 | 261 |
262 static bool CanRetainOtherContext(Map* map, Context* global_context); | 262 static bool CanRetainOtherContext(Map* map, Context* global_context); |
263 static bool CanRetainOtherContext(JSFunction* function, | 263 static bool CanRetainOtherContext(JSFunction* function, |
264 Context* global_context); | 264 Context* global_context); |
265 | 265 |
266 CheckType GetCallCheckType(Call* expr); | 266 CheckType GetCallCheckType(Call* expr); |
267 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); | 267 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); |
268 | 268 |
269 Handle<JSFunction> GetCallTarget(Call* expr); | 269 Handle<JSFunction> GetCallTarget(Call* expr); |
| 270 Handle<JSFunction> GetCallNewTarget(CallNew* expr); |
270 | 271 |
271 bool LoadIsBuiltin(Property* expr, Builtins::Name id); | 272 bool LoadIsBuiltin(Property* expr, Builtins::Name id); |
272 | 273 |
273 // TODO(1571) We can't use ToBooleanStub::Types as the return value because | 274 // TODO(1571) We can't use ToBooleanStub::Types as the return value because |
274 // of various cylces in our headers. Death to tons of implementations in | 275 // of various cylces in our headers. Death to tons of implementations in |
275 // headers!! :-P | 276 // headers!! :-P |
276 byte ToBooleanTypes(unsigned ast_id); | 277 byte ToBooleanTypes(unsigned ast_id); |
277 | 278 |
278 // Get type information for arithmetic operations and compares. | 279 // Get type information for arithmetic operations and compares. |
279 TypeInfo UnaryType(UnaryOperation* expr); | 280 TypeInfo UnaryType(UnaryOperation* expr); |
(...skipping 28 matching lines...) Loading... |
308 Handle<Context> global_context_; | 309 Handle<Context> global_context_; |
309 Isolate* isolate_; | 310 Isolate* isolate_; |
310 Handle<UnseededNumberDictionary> dictionary_; | 311 Handle<UnseededNumberDictionary> dictionary_; |
311 | 312 |
312 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 313 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
313 }; | 314 }; |
314 | 315 |
315 } } // namespace v8::internal | 316 } } // namespace v8::internal |
316 | 317 |
317 #endif // V8_TYPE_INFO_H_ | 318 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |