summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:38:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:38:30 +0000
commit8dc4e1007a365578fe4252402e7c5b7653555961 (patch)
tree5e4bf6b79743903fab2c14c546724796e1a9bb7c /llvm/lib/CodeGen
parent49f643c4723e1f0ceb050ea01d18afd8a1590636 (diff)
downloadbcm5719-llvm-8dc4e1007a365578fe4252402e7c5b7653555961.tar.gz
bcm5719-llvm-8dc4e1007a365578fe4252402e7c5b7653555961.zip
Make EmitFunctionHeader a private helper.
llvm-svn: 232481
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 509876863d1..37848510f9a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -782,6 +782,8 @@ void AsmPrinter::emitFrameAlloc(const MachineInstr &MI) {
/// EmitFunctionBody - This method emits the body and trailer for a
/// function.
void AsmPrinter::EmitFunctionBody() {
+ EmitFunctionHeader();
+
// Emit target-specific gunk before the function body.
EmitFunctionBodyStart();
OpenPOWER on IntegriCloud