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

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

Issue 106453003: Allocation site support for monomorphic StringAdds in BinaryOps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Michael's comments. Created 7 years 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
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // of various cycles in our headers. Death to tons of implementations in 306 // of various cycles in our headers. Death to tons of implementations in
307 // headers!! :-P 307 // headers!! :-P
308 byte ToBooleanTypes(TypeFeedbackId id); 308 byte ToBooleanTypes(TypeFeedbackId id);
309 309
310 // Get type information for arithmetic operations and compares. 310 // Get type information for arithmetic operations and compares.
311 void BinaryType(TypeFeedbackId id, 311 void BinaryType(TypeFeedbackId id,
312 Handle<Type>* left, 312 Handle<Type>* left,
313 Handle<Type>* right, 313 Handle<Type>* right,
314 Handle<Type>* result, 314 Handle<Type>* result,
315 Maybe<int>* fixed_right_arg, 315 Maybe<int>* fixed_right_arg,
316 Handle<AllocationSite>* allocation_site,
316 Token::Value operation); 317 Token::Value operation);
317 318
318 void CompareType(TypeFeedbackId id, 319 void CompareType(TypeFeedbackId id,
319 Handle<Type>* left, 320 Handle<Type>* left,
320 Handle<Type>* right, 321 Handle<Type>* right,
321 Handle<Type>* combined); 322 Handle<Type>* combined);
322 323
323 Handle<Type> CountType(TypeFeedbackId id); 324 Handle<Type> CountType(TypeFeedbackId id);
324 325
325 Handle<Type> ClauseType(TypeFeedbackId id); 326 Handle<Type> ClauseType(TypeFeedbackId id);
(...skipping 30 matching lines...) Expand all
356 Isolate* isolate_; 357 Isolate* isolate_;
357 Zone* zone_; 358 Zone* zone_;
358 Handle<UnseededNumberDictionary> dictionary_; 359 Handle<UnseededNumberDictionary> dictionary_;
359 360
360 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 361 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
361 }; 362 };
362 363
363 } } // namespace v8::internal 364 } } // namespace v8::internal
364 365
365 #endif // V8_TYPE_INFO_H_ 366 #endif // V8_TYPE_INFO_H_
OLDNEW
« src/hydrogen.cc ('K') | « src/objects-inl.h ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698