From: David Blaikie Date: Tue, 24 Oct 2017 21:29:19 +0000 (+0000) Subject: TargetOpcodes.h: Don't mark header functions as file local X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4eaad940163d7f23744cf5ecdc102af8347281e7;p=llvm TargetOpcodes.h: Don't mark header functions as file local git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316514 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetOpcodes.h b/include/llvm/Target/TargetOpcodes.h index 33df133a4d5..ca01a3acac6 100644 --- a/include/llvm/Target/TargetOpcodes.h +++ b/include/llvm/Target/TargetOpcodes.h @@ -28,13 +28,13 @@ enum { /// Check whether the given Opcode is a generic opcode that is not supposed /// to appear after ISel. -static inline bool isPreISelGenericOpcode(unsigned Opcode) { +inline bool isPreISelGenericOpcode(unsigned Opcode) { return Opcode >= TargetOpcode::PRE_ISEL_GENERIC_OPCODE_START && Opcode <= TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END; } /// Check whether the given Opcode is a target-specific opcode. -static inline bool isTargetSpecificOpcode(unsigned Opcode) { +inline bool isTargetSpecificOpcode(unsigned Opcode) { return Opcode > TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END; } } // end namespace llvm