commit | a35a8e87fa8294402b1015e0e5049f6869dcc653 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Nov 21 22:39:40 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Nov 21 22:39:40 2005 +0000 |
tree | 13e5b8b33c2796b18e23c0cb943cbcaa1a8729e2 | |
parent | e5600e5509be43097e5f3b7e0f5d33305dc77630 [diff] [blame] |
Use subtarget information computed by X86Subtarget instead of rolling our own. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24477 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86ATTAsmPrinter.cpp b/lib/Target/X86/X86ATTAsmPrinter.cpp index 7420012..9a21e61 100755 --- a/lib/Target/X86/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/X86ATTAsmPrinter.cpp
@@ -54,7 +54,7 @@ printMachineInstruction(II); } } - if (!forDarwin) + if (forELF) O << "\t.size " << CurrentFnName << ", .-" << CurrentFnName << "\n"; // We didn't modify anything.