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

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

Issue 8286023: Revert last revert. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 2 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/parser.cc ('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 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 270
271 void SetInfo(unsigned ast_id, Object* target); 271 void SetInfo(unsigned ast_id, Object* target);
272 272
273 void BuildDictionary(Handle<Code> code); 273 void BuildDictionary(Handle<Code> code);
274 void GetRelocInfos(Handle<Code> code, ZoneList<RelocInfo>* infos); 274 void GetRelocInfos(Handle<Code> code, ZoneList<RelocInfo>* infos);
275 void CreateDictionary(Handle<Code> code, ZoneList<RelocInfo>* infos); 275 void CreateDictionary(Handle<Code> code, ZoneList<RelocInfo>* infos);
276 void RelocateRelocInfos(ZoneList<RelocInfo>* infos, 276 void RelocateRelocInfos(ZoneList<RelocInfo>* infos,
277 byte* old_start, 277 byte* old_start,
278 byte* new_start); 278 byte* new_start);
279 void ProcessRelocInfos(ZoneList<RelocInfo>* infos); 279 void ProcessRelocInfos(ZoneList<RelocInfo>* infos);
280 void ProcessTargetAt(Address target_address, unsigned ast_id);
281 280
282 // Returns an element from the backing store. Returns undefined if 281 // Returns an element from the backing store. Returns undefined if
283 // there is no information. 282 // there is no information.
284 Handle<Object> GetInfo(unsigned ast_id); 283 Handle<Object> GetInfo(unsigned ast_id);
285 284
286 Handle<Context> global_context_; 285 Handle<Context> global_context_;
287 Isolate* isolate_; 286 Isolate* isolate_;
288 Handle<NumberDictionary> dictionary_; 287 Handle<NumberDictionary> dictionary_;
289 288
290 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 289 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
291 }; 290 };
292 291
293 } } // namespace v8::internal 292 } } // namespace v8::internal
294 293
295 #endif // V8_TYPE_INFO_H_ 294 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698