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

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

Issue 6794050: Revert "[Arguments] Merge (7442,7496] from bleeding_edge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Created 9 years, 8 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/stub-cache.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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...) Expand 10 before | Expand all | Expand 10 after
260 // Get type information for arithmetic operations and compares. 260 // Get type information for arithmetic operations and compares.
261 TypeInfo BinaryType(BinaryOperation* expr); 261 TypeInfo BinaryType(BinaryOperation* expr);
262 TypeInfo CompareType(CompareOperation* expr); 262 TypeInfo CompareType(CompareOperation* expr);
263 TypeInfo SwitchType(CaseClause* clause); 263 TypeInfo SwitchType(CaseClause* clause);
264 264
265 private: 265 private:
266 ZoneMapList* CollectReceiverTypes(int position, 266 ZoneMapList* CollectReceiverTypes(int position,
267 Handle<String> name, 267 Handle<String> name,
268 Code::Flags flags); 268 Code::Flags flags);
269 269
270 void SetInfo(int position, Object* target);
271
272 void PopulateMap(Handle<Code> code); 270 void PopulateMap(Handle<Code> code);
273 271
274 void CollectPositions(Code* code, 272 void CollectPositions(Code* code,
275 List<int>* code_positions, 273 List<int>* code_positions,
276 List<int>* source_positions); 274 List<int>* source_positions);
277 275
278 // Returns an element from the backing store. Returns undefined if 276 // Returns an element from the backing store. Returns undefined if
279 // there is no information. 277 // there is no information.
280 Handle<Object> GetInfo(int pos); 278 Handle<Object> GetInfo(int pos);
281 279
282 Handle<Context> global_context_; 280 Handle<Context> global_context_;
283 Handle<NumberDictionary> dictionary_; 281 Handle<NumberDictionary> dictionary_;
284 282
285 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 283 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
286 }; 284 };
287 285
288 } } // namespace v8::internal 286 } } // namespace v8::internal
289 287
290 #endif // V8_TYPE_INFO_H_ 288 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/stub-cache.h ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698