OLD | NEW |
---|---|
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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
249 void StoreReceiverTypes(Assignment* expr, | 249 void StoreReceiverTypes(Assignment* expr, |
250 Handle<String> name, | 250 Handle<String> name, |
251 SmallMapList* types); | 251 SmallMapList* types); |
252 void CallReceiverTypes(Call* expr, | 252 void CallReceiverTypes(Call* expr, |
253 Handle<String> name, | 253 Handle<String> name, |
254 CallKind call_kind, | 254 CallKind call_kind, |
255 SmallMapList* types); | 255 SmallMapList* types); |
256 void CollectKeyedReceiverTypes(unsigned ast_id, | 256 void CollectKeyedReceiverTypes(unsigned ast_id, |
257 SmallMapList* types); | 257 SmallMapList* types); |
258 | 258 |
259 static bool InSameContext(Handle<Map> map, Handle<Context> global_context); | |
Vyacheslav Egorov (Chromium)
2011/12/12 13:34:44
I would better call it: WillRetainDifferentContext
| |
260 | |
259 CheckType GetCallCheckType(Call* expr); | 261 CheckType GetCallCheckType(Call* expr); |
260 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); | 262 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); |
261 | 263 |
262 Handle<JSFunction> GetCallTarget(Call* expr); | 264 Handle<JSFunction> GetCallTarget(Call* expr); |
263 | 265 |
264 bool LoadIsBuiltin(Property* expr, Builtins::Name id); | 266 bool LoadIsBuiltin(Property* expr, Builtins::Name id); |
265 | 267 |
266 // TODO(1571) We can't use ToBooleanStub::Types as the return value because | 268 // TODO(1571) We can't use ToBooleanStub::Types as the return value because |
267 // of various cylces in our headers. Death to tons of implementations in | 269 // of various cylces in our headers. Death to tons of implementations in |
268 // headers!! :-P | 270 // headers!! :-P |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
300 Handle<Context> global_context_; | 302 Handle<Context> global_context_; |
301 Isolate* isolate_; | 303 Isolate* isolate_; |
302 Handle<NumberDictionary> dictionary_; | 304 Handle<NumberDictionary> dictionary_; |
303 | 305 |
304 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 306 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
305 }; | 307 }; |
306 | 308 |
307 } } // namespace v8::internal | 309 } } // namespace v8::internal |
308 | 310 |
309 #endif // V8_TYPE_INFO_H_ | 311 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |