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:
6104626
)
fix crash in the case when some arg is null
author
Nuno Lopes
<nunoplopes@sapo.pt>
Wed, 14 Jan 2009 17:51:41 +0000
(17:51 +0000)
committer
Nuno Lopes
<nunoplopes@sapo.pt>
Wed, 14 Jan 2009 17:51:41 +0000
(17:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62236
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index
cd4c692
..
8139e82
100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-1671,7
+1671,7
@@
void AssemblyWriter::printInstruction(const Instruction &I) {
} else {
for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {
Operand = I.getOperand(i);
- if (Operand->getType() != TheType) {
+ if (Operand
&& Operand
->getType() != TheType) {
PrintAllTypes = true; // We have differing types! Print them all!
break;
}