From: Dan Gohman Date: Fri, 4 Dec 2015 17:18:32 +0000 (+0000) Subject: [WebAssembly] clang-format CallingConvSupported. NFC. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=e0b2e5de57f8488a3c01cf55161cb9ec946b5fec [WebAssembly] clang-format CallingConvSupported. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254729 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }