mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Fix a bug I introduced in a previous change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4909 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
42aa3ae90b
commit
33ced56edb
@ -408,9 +408,11 @@ ISel::visitCallInst (CallInst & CI)
|
||||
BuildMI (BB, X86::PUSHr32, 1).addReg (X86::EAX);
|
||||
break;
|
||||
case cInt:
|
||||
case cFloat:
|
||||
BuildMI (BB, X86::PUSHr32, 1).addReg(getReg(v));
|
||||
case cFloat: {
|
||||
unsigned Reg = getReg(v);
|
||||
BuildMI (BB, X86::PUSHr32, 1).addReg(Reg);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
// FIXME: long/ulong/double args not handled.
|
||||
visitInstruction (CI);
|
||||
|
@ -408,9 +408,11 @@ ISel::visitCallInst (CallInst & CI)
|
||||
BuildMI (BB, X86::PUSHr32, 1).addReg (X86::EAX);
|
||||
break;
|
||||
case cInt:
|
||||
case cFloat:
|
||||
BuildMI (BB, X86::PUSHr32, 1).addReg(getReg(v));
|
||||
case cFloat: {
|
||||
unsigned Reg = getReg(v);
|
||||
BuildMI (BB, X86::PUSHr32, 1).addReg(Reg);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
// FIXME: long/ulong/double args not handled.
|
||||
visitInstruction (CI);
|
||||
|
Loading…
x
Reference in New Issue
Block a user