diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-21 22:55:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-21 22:55:27 +0000 |
commit | 352eef717dc2e686b28164a8f0f982db4fd24cd7 (patch) | |
tree | 623a406f8d4657e269c8209a22da815b7a686034 /lib/Bytecode/Reader/Reader.cpp | |
parent | 64339f681a0bc29c21164fc6ea600794a9f49e4b (diff) |
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
Diffstat (limited to 'lib/Bytecode/Reader/Reader.cpp')
-rw-r--r-- | lib/Bytecode/Reader/Reader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index bbffb1760e..dd75d7f26f 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -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; } |