[llvm-commits] CVS: llvm/include/llvm/Bytecode/BytecodeHandler.h
Chris Lattner
sabre at nondot.org
Tue Feb 6 21:10:07 PST 2007
Changes in directory llvm/include/llvm/Bytecode:
BytecodeHandler.h updated: 1.12 -> 1.13
---
Log message:
eliminate std::vector's from the bchandler interface
---
Diffs of the changes: (+5 -5)
BytecodeHandler.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Index: llvm/include/llvm/Bytecode/BytecodeHandler.h
diff -u llvm/include/llvm/Bytecode/BytecodeHandler.h:1.12 llvm/include/llvm/Bytecode/BytecodeHandler.h:1.13
--- llvm/include/llvm/Bytecode/BytecodeHandler.h:1.12 Mon Feb 5 14:47:19 2007
+++ llvm/include/llvm/Bytecode/BytecodeHandler.h Tue Feb 6 23:09:50 2007
@@ -233,7 +233,7 @@
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 @@
/// @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 @@
/// @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
) {}
More information about the llvm-commits
mailing list