aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-17 16:27:26 +0000
committerChris Lattner <sabre@nondot.org>2004-08-17 16:27:26 +0000
commit5676310c5dd8c31a6a42eecdf3621df52801558b (patch)
treefe000534b46c1fb1718218b0bd4952ef5fa273bc /lib
parent0554fb6b9cf10717bd6ec099cd8193e9bb079a8d (diff)
downloadexternal_llvm-5676310c5dd8c31a6a42eecdf3621df52801558b.zip
external_llvm-5676310c5dd8c31a6a42eecdf3621df52801558b.tar.gz
external_llvm-5676310c5dd8c31a6a42eecdf3621df52801558b.tar.bz2
Print comments with ;
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/PowerPC/PPC32AsmPrinter.cpp1
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPC32AsmPrinter.cpp b/lib/Target/PowerPC/PPC32AsmPrinter.cpp
index 11eaf3d..a5fe5c2 100644
--- a/lib/Target/PowerPC/PPC32AsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPC32AsmPrinter.cpp
@@ -45,6 +45,7 @@ namespace {
PPC32AsmPrinter(std::ostream &O, TargetMachine &TM)
: AsmPrinter(O, TM), LabelNumber(0) {
+ CommentChar = ";";
GlobalPrefix = "_";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
Data64bitsDirective = 0; // we can't emit a 64-bit unit
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 11eaf3d..a5fe5c2 100644
--- a/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -45,6 +45,7 @@ namespace {
PPC32AsmPrinter(std::ostream &O, TargetMachine &TM)
: AsmPrinter(O, TM), LabelNumber(0) {
+ CommentChar = ";";
GlobalPrefix = "_";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
Data64bitsDirective = 0; // we can't emit a 64-bit unit