Fix for IL build, as per jack.frost's patch in issue 620. Feel free to yell at me if it breaks anything.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2669 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Marcus Wanners 2009-03-16 19:35:56 +00:00
parent 27210d4f8e
commit 3635e7827b
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ InstLoc IRBuilder::FoldUOp(unsigned Opcode, InstLoc Op1, unsigned extra) {
if (Opcode == DoubleToSingle) {
if (getOpcode(*Op1) == DupSingleToMReg)
return getOp1(Op1);
if (getOpcode(*Op1) >= FDMul || getOpcode(*Op1) <= FDSub) {
if (getOpcode(*Op1) >= FDMul && getOpcode(*Op1) <= FDSub) {
InstLoc OOp1 = getOp1(Op1), OOp2 = getOp2(Op1);
if (getOpcode(*OOp1) == DupSingleToMReg &&
getOpcode(*OOp2) == DupSingleToMReg) {