mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Remove debug info :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
77a316ad2b
commit
e6e8b28a57
@ -379,14 +379,12 @@ bool BytecodeParser::ParseInstruction(const uchar *&Buf, const uchar *EndBuf,
|
|||||||
|
|
||||||
if (Raw.Opcode == Instruction::Load) {
|
if (Raw.Opcode == Instruction::Load) {
|
||||||
assert(MemAccessInst::getIndexedType(Raw.Ty, Idx) &&
|
assert(MemAccessInst::getIndexedType(Raw.Ty, Idx) &&
|
||||||
"Bad indices for GEP or Load!");
|
"Bad indices for Load!");
|
||||||
Res = new LoadInst(getValue(Raw.Ty, Raw.Arg1), Idx);
|
Res = new LoadInst(getValue(Raw.Ty, Raw.Arg1), Idx);
|
||||||
} else if (Raw.Opcode == Instruction::GetElementPtr)
|
} else if (Raw.Opcode == Instruction::GetElementPtr)
|
||||||
Res = new GetElementPtrInst(getValue(Raw.Ty, Raw.Arg1), Idx);
|
Res = new GetElementPtrInst(getValue(Raw.Ty, Raw.Arg1), Idx);
|
||||||
else
|
else
|
||||||
abort();
|
abort();
|
||||||
if (!MemAccessInst::getIndexedType(Raw.Ty, Idx))
|
|
||||||
cerr << Res;
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
case Instruction::Store: {
|
case Instruction::Store: {
|
||||||
|
Loading…
Reference in New Issue
Block a user