Print comments with ;
authorChris Lattner <sabre@nondot.org>
Tue, 17 Aug 2004 16:27:26 +0000 (16:27 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Aug 2004 16:27:26 +0000 (16:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15881 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPC32AsmPrinter.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp

index 11eaf3d86198a3fa857f3fef07ddf696c2d1cc29..a5fe5c2100cb7ab6070d9398bef65c9e5b622dd5 100644 (file)
@@ -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
index 11eaf3d86198a3fa857f3fef07ddf696c2d1cc29..a5fe5c2100cb7ab6070d9398bef65c9e5b622dd5 100644 (file)
@@ -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