| 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 // Returns an element from the backing store. Returns undefined if | 329 // Returns an element from the backing store. Returns undefined if |
| 330 // there is no information. | 330 // there is no information. |
| 331 public: | 331 public: |
| 332 // TODO(mvstanton): how to get this information without making the method | 332 // TODO(mvstanton): how to get this information without making the method |
| 333 // public? | 333 // public? |
| 334 Handle<Object> GetInfo(TypeFeedbackId ast_id); | 334 Handle<Object> GetInfo(TypeFeedbackId ast_id); |
| 335 | 335 |
| 336 private: | 336 private: |
| 337 Handle<Context> native_context_; | 337 Handle<Context> native_context_; |
| 338 Isolate* isolate_; | 338 Isolate* isolate_; |
| 339 Zone* zone_; |
| 339 Handle<UnseededNumberDictionary> dictionary_; | 340 Handle<UnseededNumberDictionary> dictionary_; |
| 340 Zone* zone_; | |
| 341 | 341 |
| 342 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 342 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
| 343 }; | 343 }; |
| 344 | 344 |
| 345 } } // namespace v8::internal | 345 } } // namespace v8::internal |
| 346 | 346 |
| 347 #endif // V8_TYPE_INFO_H_ | 347 #endif // V8_TYPE_INFO_H_ |
| OLD | NEW |