mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user