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

Side by Side Diff: src/hydrogen-instructions.h

Issue 11745011: Improved printing of HForceRepresentation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « no previous file | src/hydrogen-instructions.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 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 } 1255 }
1256 1256
1257 HValue* value() { return OperandAt(0); } 1257 HValue* value() { return OperandAt(0); }
1258 1258
1259 virtual HValue* EnsureAndPropagateNotMinusZero(BitVector* visited); 1259 virtual HValue* EnsureAndPropagateNotMinusZero(BitVector* visited);
1260 1260
1261 virtual Representation RequiredInputRepresentation(int index) { 1261 virtual Representation RequiredInputRepresentation(int index) {
1262 return representation(); // Same as the output representation. 1262 return representation(); // Same as the output representation.
1263 } 1263 }
1264 1264
1265 virtual void PrintDataTo(StringStream* stream);
1266
1265 DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation) 1267 DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation)
1266 }; 1268 };
1267 1269
1268 1270
1269 class HChange: public HUnaryOperation { 1271 class HChange: public HUnaryOperation {
1270 public: 1272 public:
1271 HChange(HValue* value, 1273 HChange(HValue* value,
1272 Representation to, 1274 Representation to,
1273 bool is_truncating, 1275 bool is_truncating,
1274 bool deoptimize_on_undefined) 1276 bool deoptimize_on_undefined)
(...skipping 4169 matching lines...) Expand 10 before | Expand all | Expand 10 after
5444 virtual bool IsDeletable() const { return true; } 5446 virtual bool IsDeletable() const { return true; }
5445 }; 5447 };
5446 5448
5447 5449
5448 #undef DECLARE_INSTRUCTION 5450 #undef DECLARE_INSTRUCTION
5449 #undef DECLARE_CONCRETE_INSTRUCTION 5451 #undef DECLARE_CONCRETE_INSTRUCTION
5450 5452
5451 } } // namespace v8::internal 5453 } } // namespace v8::internal
5452 5454
5453 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 5455 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698