OSDN Git Service

Make AsmPrinter::EmitLabelOffsetDifference a static helper and simplify.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 21 Oct 2014 00:25:49 +0000 (00:25 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 21 Oct 2014 00:25:49 +0000 (00:25 +0000)
commit33966cf988cb9db5c8f839bf8b8509f12db4a529
treebf1d5df51a21cf03c6a38b74890c697e0cda99d5
parentacaf8f5618194731f77a4033e294665974b92e40
Make AsmPrinter::EmitLabelOffsetDifference a static helper and simplify.

It had exactly one caller in a position where we know hasSetDirective is true.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220250 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DIE.cpp