mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Expose isPointerType to clients of dsanalysis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4597 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b10604341f
commit
04781177b9
@ -26,6 +26,11 @@ namespace DS { // FIXME: After the paper, this should get cleaned up
|
||||
enum { PointerShift = 3, // 64bit ptrs = 3, 32 bit ptrs = 2
|
||||
PointerSize = 1 << PointerShift
|
||||
};
|
||||
|
||||
// isPointerType - Return true if this first class type is big enough to hold
|
||||
// a pointer.
|
||||
//
|
||||
bool isPointerType(const Type *Ty);
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -26,6 +26,11 @@ namespace DS { // FIXME: After the paper, this should get cleaned up
|
||||
enum { PointerShift = 3, // 64bit ptrs = 3, 32 bit ptrs = 2
|
||||
PointerSize = 1 << PointerShift
|
||||
};
|
||||
|
||||
// isPointerType - Return true if this first class type is big enough to hold
|
||||
// a pointer.
|
||||
//
|
||||
bool isPointerType(const Type *Ty);
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user