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

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

Issue 12764003: Added an Isolate parameter to some HashTable/Dictionary methods. TypeFeedbackOracle tweaks. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: TypeFeedbackOracle 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/objects-inl.h ('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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698