mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
fix clang/test/CodeGenObjC/try.m, a basereg doesn't mean no global anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74375 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
380135cc3e
commit
553e571b43
@ -1145,12 +1145,10 @@ bool X86FastISel::X86SelectCall(Instruction *I) {
|
||||
return false;
|
||||
unsigned CalleeOp = 0;
|
||||
GlobalValue *GV = 0;
|
||||
if (CalleeAM.Base.Reg != 0) {
|
||||
assert(CalleeAM.GV == 0);
|
||||
CalleeOp = CalleeAM.Base.Reg;
|
||||
} else if (CalleeAM.GV != 0) {
|
||||
assert(CalleeAM.GV != 0);
|
||||
if (CalleeAM.GV != 0) {
|
||||
GV = CalleeAM.GV;
|
||||
} else if (CalleeAM.Base.Reg != 0) {
|
||||
CalleeOp = CalleeAM.Base.Reg;
|
||||
} else
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user