From 4eaad940163d7f23744cf5ecdc102af8347281e7 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 24 Oct 2017 21:29:19 +0000 Subject: [PATCH] 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 --- include/llvm/Target/TargetOpcodes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1