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

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

Issue 10868032: Fix DoDeferredNumberTagU to keep the value in xmm1 instead of xmm0 on x64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: expose gc Created 8 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.cc ('k') | src/ia32/lithium-ia32.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 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 Range* result = new(zone) Range(); 1117 Range* result = new(zone) Range();
1118 result->set_can_be_minus_zero(!representation().IsInteger32()); 1118 result->set_can_be_minus_zero(!representation().IsInteger32());
1119 return result; 1119 return result;
1120 } 1120 }
1121 1121
1122 1122
1123 Range* HChange::InferRange(Zone* zone) { 1123 Range* HChange::InferRange(Zone* zone) {
1124 Range* input_range = value()->range(); 1124 Range* input_range = value()->range();
1125 if (from().IsInteger32() && 1125 if (from().IsInteger32() &&
1126 to().IsTagged() && 1126 to().IsTagged() &&
1127 !value()->CheckFlag(HInstruction::kUint32) &&
1127 input_range != NULL && input_range->IsInSmiRange()) { 1128 input_range != NULL && input_range->IsInSmiRange()) {
1128 set_type(HType::Smi()); 1129 set_type(HType::Smi());
1129 } 1130 }
1130 Range* result = (input_range != NULL) 1131 Range* result = (input_range != NULL)
1131 ? input_range->Copy(zone) 1132 ? input_range->Copy(zone)
1132 : HValue::InferRange(zone); 1133 : HValue::InferRange(zone);
1133 if (to().IsInteger32()) result->set_can_be_minus_zero(false); 1134 if (to().IsInteger32()) result->set_can_be_minus_zero(false);
1134 return result; 1135 return result;
1135 } 1136 }
1136 1137
(...skipping 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after
2626 2627
2627 2628
2628 void HCheckPrototypeMaps::Verify() { 2629 void HCheckPrototypeMaps::Verify() {
2629 HInstruction::Verify(); 2630 HInstruction::Verify();
2630 ASSERT(HasNoUses()); 2631 ASSERT(HasNoUses());
2631 } 2632 }
2632 2633
2633 #endif 2634 #endif
2634 2635
2635 } } // namespace v8::internal 2636 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698