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 | dc23308820d50f1eaa39bf811fec7120519cbd9f (patch) | |
tree | 7d630d82d5200be959655e9a930fc3b0bc39cf1b /llvm/lib/Bytecode/Reader/ReaderInternals.h | |
parent | 10d7b85d5e152dd665f627a2b974854ae72aac4a (diff) | |
download | bcm5719-llvm-dc23308820d50f1eaa39bf811fec7120519cbd9f.tar.gz bcm5719-llvm-dc23308820d50f1eaa39bf811fec7120519cbd9f.zip |
Emit an obnoxious warning message for bytecode that includes load/store
instructions that use indexing. Convert them transparently into a pair
of instructions.
llvm-svn: 3431
Diffstat (limited to 'llvm/lib/Bytecode/Reader/ReaderInternals.h')
-rw-r--r-- | llvm/lib/Bytecode/Reader/ReaderInternals.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Reader/ReaderInternals.h b/llvm/lib/Bytecode/Reader/ReaderInternals.h index fdaf13d13c1..c156f515b88 100644 --- a/llvm/lib/Bytecode/Reader/ReaderInternals.h +++ b/llvm/lib/Bytecode/Reader/ReaderInternals.h @@ -94,7 +94,8 @@ private: bool ParseSymbolTable (const uchar *&Buf, const uchar *End, SymbolTable *); bool ParseMethod (const uchar *&Buf, const uchar *End, Module *); bool ParseBasicBlock (const uchar *&Buf, const uchar *End, BasicBlock *&); - bool ParseInstruction (const uchar *&Buf, const uchar *End, Instruction *&); + bool ParseInstruction (const uchar *&Buf, const uchar *End, Instruction *&, + BasicBlock *BB /*HACK*/); bool ParseRawInst (const uchar *&Buf, const uchar *End, RawInst &); bool ParseConstantPool(const uchar *&Buf, const uchar *EndBuf, |