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

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

Issue 7480011: rename HCompareIDAndBranch to HCompareNumbersAndBranch (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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/hydrogen-instructions.h ('k') | src/ia32/lithium-ia32.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1270 1270
1271 1271
1272 1272
1273 void HCompareGeneric::PrintDataTo(StringStream* stream) { 1273 void HCompareGeneric::PrintDataTo(StringStream* stream) {
1274 stream->Add(Token::Name(token())); 1274 stream->Add(Token::Name(token()));
1275 stream->Add(" "); 1275 stream->Add(" ");
1276 HBinaryOperation::PrintDataTo(stream); 1276 HBinaryOperation::PrintDataTo(stream);
1277 } 1277 }
1278 1278
1279 1279
1280 void HCompareIDAndBranch::PrintDataTo(StringStream* stream) { 1280 void HCompareNumbersAndBranch::PrintDataTo(StringStream* stream) {
1281 stream->Add(Token::Name(token())); 1281 stream->Add(Token::Name(token()));
1282 stream->Add(" "); 1282 stream->Add(" ");
1283 left()->PrintNameTo(stream); 1283 left()->PrintNameTo(stream);
1284 stream->Add(" "); 1284 stream->Add(" ");
1285 right()->PrintNameTo(stream); 1285 right()->PrintNameTo(stream);
1286 } 1286 }
1287 1287
1288 1288
1289 void HCompareIDAndBranch::SetInputRepresentation(Representation r) { 1289 void HCompareNumbersAndBranch::SetInputRepresentation(Representation r) {
1290 input_representation_ = r; 1290 input_representation_ = r;
1291 if (r.IsDouble()) { 1291 if (r.IsDouble()) {
1292 SetFlag(kDeoptimizeOnUndefined); 1292 SetFlag(kDeoptimizeOnUndefined);
1293 } else { 1293 } else {
1294 ASSERT(r.IsInteger32()); 1294 ASSERT(r.IsInteger32());
1295 } 1295 }
1296 } 1296 }
1297 1297
1298 1298
1299 void HParameter::PrintDataTo(StringStream* stream) { 1299 void HParameter::PrintDataTo(StringStream* stream) {
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
1841 1841
1842 1842
1843 void HCheckPrototypeMaps::Verify() { 1843 void HCheckPrototypeMaps::Verify() {
1844 HInstruction::Verify(); 1844 HInstruction::Verify();
1845 ASSERT(HasNoUses()); 1845 ASSERT(HasNoUses());
1846 } 1846 }
1847 1847
1848 #endif 1848 #endif
1849 1849
1850 } } // namespace v8::internal 1850 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698