mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-28 15:41:58 +00:00
fix clang/test/CodeGenObjC/try.m, a basereg doesn't mean no global anymore.
llvm-svn: 74375
This commit is contained in:
parent
82058e92a0
commit
bab7dd08d2
@ -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…
x
Reference in New Issue
Block a user