diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-08-20 06:00:58 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-08-20 06:00:58 +0000 |
commit | 715c90ba524e736190a6380695ab337eeb5148be (patch) | |
tree | 0ab6881edc06308fc09116d695a55ccbd096cb5f /include/llvm/Bytecode | |
parent | 4e5b9e136f2eafcb2ab4c5b968307c2678e16a96 (diff) | |
download | external_llvm-715c90ba524e736190a6380695ab337eeb5148be.zip external_llvm-715c90ba524e736190a6380695ab337eeb5148be.tar.gz external_llvm-715c90ba524e736190a6380695ab337eeb5148be.tar.bz2 |
Packed types, brought to you by Brad Jones
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bytecode')
-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 687bf80..5a022a0 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 |