mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
Write select instructions to bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12315 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3ac22a204
commit
46b787e986
@ -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...
|
||||
|
Loading…
x
Reference in New Issue
Block a user