diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-07 05:09:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-07 05:09:50 +0000 |
commit | 1b1c95c9bfb7438a3009b1ccf687801e53daef62 (patch) | |
tree | 6fbc3d5ac2e660f11ae54e720938caa856def2a6 | |
parent | 63cf59ed3fc65486fb0108edfae0a7b76137a724 (diff) | |
download | external_llvm-1b1c95c9bfb7438a3009b1ccf687801e53daef62.zip external_llvm-1b1c95c9bfb7438a3009b1ccf687801e53daef62.tar.gz external_llvm-1b1c95c9bfb7438a3009b1ccf687801e53daef62.tar.bz2 |
eliminate std::vector's from the bchandler interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33979 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Bytecode/BytecodeHandler.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Bytecode/BytecodeHandler.h b/include/llvm/Bytecode/BytecodeHandler.h index c3ddc62..7857570 100644 --- a/include/llvm/Bytecode/BytecodeHandler.h +++ b/include/llvm/Bytecode/BytecodeHandler.h @@ -233,7 +233,7 @@ public: virtual bool handleInstruction( unsigned Opcode, ///< Opcode of the instruction const Type* iType, ///< Instruction type - std::vector<unsigned>& Operands, ///< Vector of slot # operands + unsigned *Operands, unsigned NumOps, ///< Vector of slot # operands Instruction *Inst, ///< The resulting instruction unsigned Length ///< Length of instruction in bc bytes ) { return false; } @@ -249,14 +249,14 @@ public: /// @brief Handle a constant expression virtual void handleConstantExpression( unsigned Opcode, ///< Opcode of primary expression operator - std::vector<Constant*> ArgVec, ///< expression args + Constant**Args, unsigned NumArgs, ///< expression args Constant* C ///< The constant value ) {} /// @brief Handle a constant array virtual void handleConstantArray( const ArrayType* AT, ///< Type of the array - std::vector<Constant*>& ElementSlots,///< Slot nums for array values + Constant**ElementSlots, unsigned NumElts,///< Slot nums for array values unsigned TypeSlot, ///< Slot # of type Constant* Val ///< The constant value ) {} @@ -264,14 +264,14 @@ public: /// @brief Handle a constant structure virtual void handleConstantStruct( const StructType* ST, ///< Type of the struct - std::vector<Constant*>& ElementSlots,///< Slot nums for struct values + Constant**ElementSlots, unsigned NumElts,///< Slot nums for struct values Constant* Val ///< The constant value ) {} /// @brief Handle a constant packed virtual void handleConstantPacked( const PackedType* PT, ///< Type of the array - std::vector<Constant*>& ElementSlots,///< Slot nums for packed values + Constant**ElementSlots, unsigned NumElts,///< Slot nums for packed values unsigned TypeSlot, ///< Slot # of type Constant* Val ///< The constant value ) {} |