Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 12749) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -1697,8 +1697,7 @@ |
Representation input_rep = value->representation(); |
LOperand* reg = UseRegister(value); |
if (input_rep.IsDouble()) { |
- return DefineAsRegister(new(zone()) LClampDToUint8(reg, |
- TempRegister())); |
+ return DefineAsRegister(new(zone()) LClampDToUint8(reg)); |
} else if (input_rep.IsInteger32()) { |
return DefineSameAsFirst(new(zone()) LClampIToUint8(reg)); |
} else { |
@@ -1706,7 +1705,6 @@ |
// Register allocator doesn't (yet) support allocation of double |
// temps. Reserve xmm1 explicitly. |
LClampTToUint8* result = new(zone()) LClampTToUint8(reg, |
- TempRegister(), |
FixedTemp(xmm1)); |
return AssignEnvironment(DefineSameAsFirst(result)); |
} |