diff options
Diffstat (limited to 'include/llvm/Bytecode/BytecodeHandler.h')
-rw-r--r-- | include/llvm/Bytecode/BytecodeHandler.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/Bytecode/BytecodeHandler.h b/include/llvm/Bytecode/BytecodeHandler.h index 687bf806e0..5a022a04c0 100644 --- a/include/llvm/Bytecode/BytecodeHandler.h +++ b/include/llvm/Bytecode/BytecodeHandler.h @@ -23,6 +23,7 @@ namespace llvm { class ArrayType; class StructType; class PointerType; +class PackedType; class ConstantArray; class Module; @@ -250,6 +251,14 @@ public: 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 + unsigned TypeSlot, ///< Slot # of type + Constant* Val ///< The constant value + ) {} + /// @brief Handle a constant pointer virtual void handleConstantPointer( const PointerType* PT, ///< Type of the pointer |