From e0b2e5de57f8488a3c01cf55161cb9ec946b5fec Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 4 Dec 2015 17:18:32 +0000 Subject: [PATCH] [WebAssembly] clang-format CallingConvSupported. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254729 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp index 79d7cbbefa2..b651855eea7 100644 --- a/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp +++ b/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp @@ -258,12 +258,10 @@ static void fail(SDLoc DL, SelectionDAG &DAG, const char *msg) { } // Test whether the given calling convention is supported. -static bool -CallingConvSupported(CallingConv::ID CallConv) { +static bool CallingConvSupported(CallingConv::ID CallConv) { // We currently support the language-independent target-independent // conventions. - return CallConv == CallingConv::C || - CallConv == CallingConv::Fast || + return CallConv == CallingConv::C || CallConv == CallingConv::Fast || CallConv == CallingConv::Cold; } -- 2.34.1