Print comments with ;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15881 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-08-17 16:27:26 +00:00
parent 0554fb6b9c
commit 5676310c5d
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ namespace {
PPC32AsmPrinter(std::ostream &O, TargetMachine &TM) PPC32AsmPrinter(std::ostream &O, TargetMachine &TM)
: AsmPrinter(O, TM), LabelNumber(0) { : AsmPrinter(O, TM), LabelNumber(0) {
CommentChar = ";";
GlobalPrefix = "_"; GlobalPrefix = "_";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros. ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
Data64bitsDirective = 0; // we can't emit a 64-bit unit Data64bitsDirective = 0; // we can't emit a 64-bit unit

View File

@ -45,6 +45,7 @@ namespace {
PPC32AsmPrinter(std::ostream &O, TargetMachine &TM) PPC32AsmPrinter(std::ostream &O, TargetMachine &TM)
: AsmPrinter(O, TM), LabelNumber(0) { : AsmPrinter(O, TM), LabelNumber(0) {
CommentChar = ";";
GlobalPrefix = "_"; GlobalPrefix = "_";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros. ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
Data64bitsDirective = 0; // we can't emit a 64-bit unit Data64bitsDirective = 0; // we can't emit a 64-bit unit