OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
380135c
)
fix clang/test/CodeGenObjC/try.m, a basereg doesn't mean no global anymore.
author
Chris Lattner
<sabre@nondot.org>
Sat, 27 Jun 2009 04:50:14 +0000
(
04:50
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 27 Jun 2009 04:50:14 +0000
(
04:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74375
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86FastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86FastISel.cpp
b/lib/Target/X86/X86FastISel.cpp
index
7aa5a73
..
dd54299
100644
(file)
--- a/
lib/Target/X86/X86FastISel.cpp
+++ b/
lib/Target/X86/X86FastISel.cpp
@@
-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;