[llvm] r232848 - X86: Make helper functions static. NFC.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sat Mar 21 15:34:02 PDT 2015


Oops. Thanks!
On Mar 20, 2015 5:12 PM, "Benjamin Kramer" <benny.kra at googlemail.com> wrote:

> Author: d0k
> Date: Fri Mar 20 16:07:30 2015
> New Revision: 232848
>
> URL: http://llvm.org/viewvc/llvm-project?rev=232848&view=rev
> Log:
> X86: Make helper functions static. NFC.
>
> Modified:
>     llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
>
> Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp?rev=232848&r1=232847&r2=232848&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
> (original)
> +++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp Fri Mar
> 20 16:07:30 2015
> @@ -73,8 +73,8 @@ static X86_64RelType getType64(unsigned
>    }
>  }
>
> -unsigned getRelocType64(MCSymbolRefExpr::VariantKind Modifier,
> -                        X86_64RelType Type, bool IsPCRel) {
> +static unsigned getRelocType64(MCSymbolRefExpr::VariantKind Modifier,
> +                               X86_64RelType Type, bool IsPCRel) {
>    switch (Modifier) {
>    default:
>      llvm_unreachable("Unimplemented");
> @@ -176,8 +176,8 @@ static X86_32RelType getType32(X86_64Rel
>    }
>  }
>
> -unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier,
> -                        X86_32RelType Type, bool IsPCRel) {
> +static unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier,
> +                               X86_32RelType Type, bool IsPCRel) {
>    switch (Modifier) {
>    default:
>      llvm_unreachable("Unimplemented");
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150321/ea6b387d/attachment.html>


More information about the llvm-commits mailing list