mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
Bug 832070 - LTruncateDToInt32 doesn't need a snapshot (r=sstangl)
--HG-- extra : rebase_source : 0c273db1eb30aa2a51571ac31ce7d160792b61a4
This commit is contained in:
parent
43bd40a839
commit
68862cf7e8
@ -1292,10 +1292,7 @@ LIRGenerator::visitTruncateToInt32(MTruncateToInt32 *truncate)
|
||||
return redefine(truncate, opd);
|
||||
|
||||
case MIRType_Double:
|
||||
{
|
||||
LTruncateDToInt32 *lir = new LTruncateDToInt32(useRegister(opd), tempFloat());
|
||||
return assignSnapshot(lir) && define(lir, truncate);
|
||||
}
|
||||
return define(new LTruncateDToInt32(useRegister(opd), tempFloat()), truncate);
|
||||
|
||||
default:
|
||||
// Objects might be effectful.
|
||||
|
Loading…
Reference in New Issue
Block a user