mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Fix these comments to reflect current reality. Surprisingly,
MachineConstantPool::getConstantPoolIndex actually expects a log2-encoded alignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
70ff4cf1ba
commit
05ae98346a
@ -122,7 +122,8 @@ public:
|
||||
unsigned getConstantPoolAlignment() const { return PoolAlignment; }
|
||||
|
||||
/// getConstantPoolIndex - Create a new entry in the constant pool or return
|
||||
/// an existing one. User must specify an alignment in bytes for the object.
|
||||
/// an existing one. User must specify the log2 of the minimum required
|
||||
/// alignment for the object.
|
||||
unsigned getConstantPoolIndex(Constant *C, unsigned Alignment);
|
||||
unsigned getConstantPoolIndex(MachineConstantPoolValue *V,unsigned Alignment);
|
||||
|
||||
|
@ -479,7 +479,8 @@ MachineConstantPool::~MachineConstantPool() {
|
||||
}
|
||||
|
||||
/// getConstantPoolIndex - Create a new entry in the constant pool or return
|
||||
/// an existing one. User must specify an alignment in bytes for the object.
|
||||
/// an existing one. User must specify the log2 of the minimum required
|
||||
/// alignment for the object.
|
||||
///
|
||||
unsigned MachineConstantPool::getConstantPoolIndex(Constant *C,
|
||||
unsigned Alignment) {
|
||||
|
Loading…
Reference in New Issue
Block a user