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:
e3ac22a
)
Write select instructions to bytecode
author
Chris Lattner
<sabre@nondot.org>
Fri, 12 Mar 2004 05:52:01 +0000
(
05:52
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 12 Mar 2004 05:52:01 +0000
(
05:52
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12315
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Writer/InstructionWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Writer/InstructionWriter.cpp
b/lib/Bytecode/Writer/InstructionWriter.cpp
index 4b845996bfb70404fb7dfe4ec8dbb89a75afb442..e86b027135bb22713786561e1e2e58e55f49e5b1 100644
(file)
--- a/
lib/Bytecode/Writer/InstructionWriter.cpp
+++ b/
lib/Bytecode/Writer/InstructionWriter.cpp
@@
-207,9
+207,10
@@
void BytecodeWriter::outputInstruction(const Instruction &I) {
//
const Type *Ty;
switch (I.getOpcode()) {
+ case Instruction::Select:
case Instruction::Malloc:
case Instruction::Alloca:
- Ty = I.getType(); //
Malloc & Alloca
ALWAYS want to encode the return type
+ Ty = I.getType(); //
These
ALWAYS want to encode the return type
break;
case Instruction::Store:
Ty = I.getOperand(1)->getType(); // Encode the pointer type...