mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
Allow the specification of explicit alignments for constant pool entries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25855 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -346,8 +346,11 @@ void MachineFrameInfo::dump(const MachineFunction &MF) const {
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
void MachineConstantPool::print(std::ostream &OS) const {
|
||||
for (unsigned i = 0, e = Constants.size(); i != e; ++i)
|
||||
OS << " <cp #" << i << "> is" << *(Value*)Constants[i] << "\n";
|
||||
for (unsigned i = 0, e = Constants.size(); i != e; ++i) {
|
||||
OS << " <cp #" << i << "> is" << *(Value*)Constants[i].first;
|
||||
if (Constants[i].second != 0) OS << " , align=" << Constants[i].second;
|
||||
OS << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
void MachineConstantPool::dump() const { print(std::cerr); }
|
||||
|
Reference in New Issue
Block a user