diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-22 23:43:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-22 23:43:14 +0000 |
commit | 56940ab8990f158547480d1171e90fe40455f4c7 (patch) | |
tree | 66b4fd17154a56e4f2e81a0c31cf85910fd90da8 /llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp | |
parent | 7859b1c2262254e32bac60175742c4be5c6deaf6 (diff) | |
download | bcm5719-llvm-56940ab8990f158547480d1171e90fe40455f4c7.tar.gz bcm5719-llvm-56940ab8990f158547480d1171e90fe40455f4c7.zip |
remove uses of EOL.
llvm-svn: 94252
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp index e41b6e950b9..3531ed60393 100644 --- a/llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp @@ -139,14 +139,11 @@ void OcamlGCMetadataPrinter::finishAssembly(raw_ostream &OS, AsmPrinter &AP, } OS << AddressDirective - << MAI.getPrivateGlobalPrefix() << "label" << J->Num; - AP.EOL("call return address"); + << MAI.getPrivateGlobalPrefix() << "label" << J->Num << '\n'; AP.EmitInt16(FrameSize); - AP.EOL("stack frame size"); AP.EmitInt16(LiveCount); - AP.EOL("live root count"); for (GCFunctionInfo::live_iterator K = FI.live_begin(J), KE = FI.live_end(J); K != KE; ++K) { @@ -154,8 +151,7 @@ void OcamlGCMetadataPrinter::finishAssembly(raw_ostream &OS, AsmPrinter &AP, "GC root stack offset is outside of fixed stack frame and out " "of range for ocaml GC!"); - OS << "\t.word\t" << K->StackOffset; - AP.EOL("stack offset"); + AP.EmitInt32(K->StackOffset); } AP.EmitAlignment(AddressAlignLog); |