[llvm-commits] [llvm] r94252 - /llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
Chris Lattner
sabre at nondot.org
Fri Jan 22 15:43:14 PST 2010
Author: lattner
Date: Fri Jan 22 17:43:14 2010
New Revision: 94252
URL: http://llvm.org/viewvc/llvm-project?rev=94252&view=rev
Log:
remove uses of EOL.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp?rev=94252&r1=94251&r2=94252&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp Fri Jan 22 17:43:14 2010
@@ -139,14 +139,11 @@
}
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 @@
"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);
More information about the llvm-commits
mailing list