Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 48c3ea39de6787a88e074916945ffb99d2ebfd7c..752341b30ca86478de82a1ae03ef4881f657ef32 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1756,14 +1756,14 @@ LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { |
Representation input_rep = value->representation(); |
LOperand* reg = UseRegister(value); |
if (input_rep.IsDouble()) { |
- return DefineAsRegister(new LClampDoubleToUint8(reg, FixedTemp(d1))); |
+ return DefineAsRegister(new LClampDToUint8(reg, FixedTemp(d1))); |
} else if (input_rep.IsInteger32()) { |
return DefineAsRegister(new LClampIToUint8(reg)); |
} else { |
ASSERT(input_rep.IsTagged()); |
// Register allocator doesn't (yet) support allocation of double |
// temps. Reserve d1 explicitly. |
- LClampTaggedToUint8* result = new LClampTaggedToUint8(reg, FixedTemp(d1)); |
+ LClampTToUint8* result = new LClampTToUint8(reg, FixedTemp(d1)); |
return AssignEnvironment(DefineAsRegister(result)); |
} |
} |