Emit an obnoxious warning message for bytecode that includes load/store

instructions that use indexing.  Convert them transparently into a pair
of instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-08-21 22:55:27 +00:00
parent 64339f681a
commit 352eef717d
3 changed files with 34 additions and 10 deletions

View File

@ -168,7 +168,8 @@ bool BytecodeParser::ParseBasicBlock(const uchar *&Buf, const uchar *EndBuf,
while (Buf < EndBuf) {
Instruction *Inst;
if (ParseInstruction(Buf, EndBuf, Inst)) {
if (ParseInstruction(Buf, EndBuf, Inst,
/*HACK*/BB)) {
delete BB;
return true;
}