Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 69c8c476b9332c101419af852f8aac87471ccabd..00fd1bb8fc187d2e5f3a76e80ce87e365b073843 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1747,17 +1747,17 @@ LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { |
Representation input_rep = value->representation(); |
LOperand* reg = UseRegister(value); |
if (input_rep.IsDouble()) { |
- return DefineAsRegister(new LClampDoubleToUint8(reg, |
- TempRegister())); |
+ return DefineAsRegister(new LClampDToUint8(reg, |
+ TempRegister())); |
} else if (input_rep.IsInteger32()) { |
return DefineSameAsFirst(new LClampIToUint8(reg)); |
} else { |
ASSERT(input_rep.IsTagged()); |
// Register allocator doesn't (yet) support allocation of double |
// temps. Reserve xmm1 explicitly. |
- LClampTaggedToUint8* result = new LClampTaggedToUint8(reg, |
- TempRegister(), |
- FixedTemp(xmm1)); |
+ LClampTToUint8* result = new LClampTToUint8(reg, |
+ TempRegister(), |
+ FixedTemp(xmm1)); |
return AssignEnvironment(DefineSameAsFirst(result)); |
} |
} |