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

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

Issue 106313003: Reland "Allocation site support for monomorphic StringAdds in BinaryOps". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // of various cycles in our headers. Death to tons of implementations in 105 // of various cycles in our headers. Death to tons of implementations in
106 // headers!! :-P 106 // headers!! :-P
107 byte ToBooleanTypes(TypeFeedbackId id); 107 byte ToBooleanTypes(TypeFeedbackId id);
108 108
109 // Get type information for arithmetic operations and compares. 109 // Get type information for arithmetic operations and compares.
110 void BinaryType(TypeFeedbackId id, 110 void BinaryType(TypeFeedbackId id,
111 Handle<Type>* left, 111 Handle<Type>* left,
112 Handle<Type>* right, 112 Handle<Type>* right,
113 Handle<Type>* result, 113 Handle<Type>* result,
114 Maybe<int>* fixed_right_arg, 114 Maybe<int>* fixed_right_arg,
115 Handle<AllocationSite>* allocation_site,
115 Token::Value operation); 116 Token::Value operation);
116 117
117 void CompareType(TypeFeedbackId id, 118 void CompareType(TypeFeedbackId id,
118 Handle<Type>* left, 119 Handle<Type>* left,
119 Handle<Type>* right, 120 Handle<Type>* right,
120 Handle<Type>* combined); 121 Handle<Type>* combined);
121 122
122 Handle<Type> CountType(TypeFeedbackId id); 123 Handle<Type> CountType(TypeFeedbackId id);
123 124
124 Zone* zone() const { return zone_; } 125 Zone* zone() const { return zone_; }
(...skipping 28 matching lines...) Expand all
153 Isolate* isolate_; 154 Isolate* isolate_;
154 Zone* zone_; 155 Zone* zone_;
155 Handle<UnseededNumberDictionary> dictionary_; 156 Handle<UnseededNumberDictionary> dictionary_;
156 157
157 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 158 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
158 }; 159 };
159 160
160 } } // namespace v8::internal 161 } } // namespace v8::internal
161 162
162 #endif // V8_TYPE_INFO_H_ 163 #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