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

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

Issue 7044049: Add boolean flag to HChange and LNumberUntagD to not convert undefined to NaN. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix typo Created 9 years, 6 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-codegen-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 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 stream->Add(" "); 1233 stream->Add(" ");
1234 HBinaryOperation::PrintDataTo(stream); 1234 HBinaryOperation::PrintDataTo(stream);
1235 } 1235 }
1236 1236
1237 1237
1238 void HCompare::SetInputRepresentation(Representation r) { 1238 void HCompare::SetInputRepresentation(Representation r) {
1239 input_representation_ = r; 1239 input_representation_ = r;
1240 if (r.IsTagged()) { 1240 if (r.IsTagged()) {
1241 SetAllSideEffects(); 1241 SetAllSideEffects();
1242 ClearFlag(kUseGVN); 1242 ClearFlag(kUseGVN);
1243 } else if (r.IsDouble()) {
1244 SetFlag(kDeoptimizeOnUndefined);
1245 ClearAllSideEffects();
1246 SetFlag(kUseGVN);
1243 } else { 1247 } else {
1244 ClearAllSideEffects(); 1248 ClearAllSideEffects();
1245 SetFlag(kUseGVN); 1249 SetFlag(kUseGVN);
1246 } 1250 }
1247 } 1251 }
1248 1252
1249 1253
1250 void HParameter::PrintDataTo(StringStream* stream) { 1254 void HParameter::PrintDataTo(StringStream* stream) {
1251 stream->Add("%u", index()); 1255 stream->Add("%u", index());
1252 } 1256 }
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
1768 1772
1769 1773
1770 void HCheckPrototypeMaps::Verify() { 1774 void HCheckPrototypeMaps::Verify() {
1771 HInstruction::Verify(); 1775 HInstruction::Verify();
1772 ASSERT(HasNoUses()); 1776 ASSERT(HasNoUses());
1773 } 1777 }
1774 1778
1775 #endif 1779 #endif
1776 1780
1777 } } // namespace v8::internal 1781 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698