Bug 881382 - Cleanup some ARM code to be more consistent with the corresponding x86 code. r=mjrosenb

This commit is contained in:
Dan Gohman 2013-06-11 18:50:27 -07:00
parent a8991d3096
commit c0bf98ea85

View File

@ -41,9 +41,7 @@ LIRGeneratorARM::useBoxFixed(LInstruction *lir, size_t n, MDefinition *mir, Regi
bool
LIRGeneratorARM::lowerConstantDouble(double d, MInstruction *mir)
{
uint32_t index;
LDouble *lir = new LDouble(d);
return define(lir, mir);
return define(new LDouble(d), mir);
}
bool