[llvm-commits] CVS: llvm/include/llvm/Bytecode/BytecodeHandler.h

Brian Gaeke gaeke at cs.uiuc.edu
Thu Aug 19 23:01:08 PDT 2004



Changes in directory llvm/include/llvm/Bytecode:

BytecodeHandler.h updated: 1.5 -> 1.6
---
Log message:

Packed types, brought to you by Brad Jones


---
Diffs of the changes:  (+9 -0)

Index: llvm/include/llvm/Bytecode/BytecodeHandler.h
diff -u llvm/include/llvm/Bytecode/BytecodeHandler.h:1.5 llvm/include/llvm/Bytecode/BytecodeHandler.h:1.6
--- llvm/include/llvm/Bytecode/BytecodeHandler.h:1.5	Tue Aug  3 19:18:37 2004
+++ llvm/include/llvm/Bytecode/BytecodeHandler.h	Fri Aug 20 01:00:57 2004
@@ -23,6 +23,7 @@
 class ArrayType;
 class StructType;
 class PointerType;
+class PackedType;
 class ConstantArray;
 class Module;
 
@@ -250,6 +251,14 @@
     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






More information about the llvm-commits mailing list