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

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

Issue 14081008: Type feedback for Unary Plus (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/ia32/full-codegen-ia32.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 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 bool LoadIsBuiltin(Property* expr, Builtins::Name id); 288 bool LoadIsBuiltin(Property* expr, Builtins::Name id);
289 bool LoadIsStub(Property* expr, ICStub* stub); 289 bool LoadIsStub(Property* expr, ICStub* stub);
290 290
291 // TODO(1571) We can't use ToBooleanStub::Types as the return value because 291 // TODO(1571) We can't use ToBooleanStub::Types as the return value because
292 // of various cylces in our headers. Death to tons of implementations in 292 // of various cylces in our headers. Death to tons of implementations in
293 // headers!! :-P 293 // headers!! :-P
294 byte ToBooleanTypes(TypeFeedbackId ast_id); 294 byte ToBooleanTypes(TypeFeedbackId ast_id);
295 295
296 // Get type information for arithmetic operations and compares. 296 // Get type information for arithmetic operations and compares.
297 TypeInfo UnaryType(UnaryOperation* expr); 297 TypeInfo UnaryType(UnaryOperation* expr);
298 void BinaryType(BinaryOperation* expr, 298 void BinaryType(TypeFeedbackId type_feedback_id,
299 TypeInfo* left, 299 TypeInfo* left,
300 TypeInfo* right, 300 TypeInfo* right,
301 TypeInfo* result); 301 TypeInfo* result);
302 void CompareType(CompareOperation* expr, 302 void CompareType(CompareOperation* expr,
303 TypeInfo* left_type, 303 TypeInfo* left_type,
304 TypeInfo* right_type, 304 TypeInfo* right_type,
305 TypeInfo* overall_type); 305 TypeInfo* overall_type);
306 Handle<Map> GetCompareMap(CompareOperation* expr); 306 Handle<Map> GetCompareMap(CompareOperation* expr);
307 TypeInfo SwitchType(CaseClause* clause); 307 TypeInfo SwitchType(CaseClause* clause);
308 TypeInfo IncrementType(CountOperation* expr); 308 TypeInfo IncrementType(CountOperation* expr);
(...skipping 29 matching lines...) Expand all
338 Isolate* isolate_; 338 Isolate* isolate_;
339 Zone* zone_; 339 Zone* zone_;
340 Handle<UnseededNumberDictionary> dictionary_; 340 Handle<UnseededNumberDictionary> dictionary_;
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/ia32/full-codegen-ia32.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698