summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-10-23 04:58:32 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-10-23 04:58:32 +0000
commit3a060e5279e27a3597905d6859407f33ec5009a4 (patch)
treeddac8007a4d3736fec9ce7122bcee48810c27761 /lib
parent5fd2ab3518d4d37da7f91b23a03d36f7ed4880f9 (diff)
downloadexternal_llvm-3a060e5279e27a3597905d6859407f33ec5009a4.zip
external_llvm-3a060e5279e27a3597905d6859407f33ec5009a4.tar.gz
external_llvm-3a060e5279e27a3597905d6859407f33ec5009a4.tar.bz2
Align function arguments in function headers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 929538e..e85516f 100644
--- a/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -101,8 +101,7 @@ namespace {
O << (unsigned short)MI->getOperand(OpNo).getImmedValue();
}
void printBranchOperand(const MachineInstr *MI, unsigned OpNo,
- MVT::ValueType VT) {
-
+ MVT::ValueType VT) {
// Branches can take an immediate operand. This is used by the branch
// selection pass to print $+8, an eight byte displacement from the PC.
if (MI->getOperand(OpNo).isImmediate()) {
@@ -112,19 +111,19 @@ namespace {
}
}
void printPICLabel(const MachineInstr *MI, unsigned OpNo,
- MVT::ValueType VT) {
+ MVT::ValueType VT) {
// FIXME: should probably be converted to cout.width and cout.fill
O << "\"L0000" << LabelNumber << "$pb\"\n";
O << "\"L0000" << LabelNumber << "$pb\":";
}
void printSymbolHi(const MachineInstr *MI, unsigned OpNo,
- MVT::ValueType VT) {
+ MVT::ValueType VT) {
O << "ha16(";
printOp(MI->getOperand(OpNo), true /* LoadAddrOp */);
O << "-\"L0000" << LabelNumber << "$pb\")";
}
void printSymbolLo(const MachineInstr *MI, unsigned OpNo,
- MVT::ValueType VT) {
+ MVT::ValueType VT) {
// FIXME: Because LFS, LFD, and LWZ can be used either with a s16imm or
// a lo16 of a global or constant pool operand, we must handle both here.
// this isn't a great design, but it works for now.