projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe53b7
)
revert to functionally equivalent formulation
author
Gabor Greif
<ggreif@gmail.com>
Wed, 7 Jan 2009 23:07:22 +0000
(23:07 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Wed, 7 Jan 2009 23:07:22 +0000
(23:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61895
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bitcode/Writer/BitcodeWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Writer/BitcodeWriter.cpp
b/lib/Bitcode/Writer/BitcodeWriter.cpp
index ed9d4db8c64f774e0f21fc99f30dbc238a19dc07..81a1a3799698e6186425d99eb155b0459cfd1e75 100644
(file)
--- a/
lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/
lib/Bitcode/Writer/BitcodeWriter.cpp
@@
-833,7
+833,7
@@
static void WriteInstruction(const Instruction &I, unsigned InstID,
Vals.push_back(II->getCallingConv());
Vals.push_back(VE.getValueID(II->getNormalDest()));
Vals.push_back(VE.getValueID(II->getUnwindDest()));
- PushValueAndType(I
I->getCalledFunction(), InstID, Vals, VE);
+ PushValueAndType(I
.getOperand(0), InstID, Vals, VE); // callee
// Emit value #'s for the fixed parameters.
for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i)