Skip to content

Commit 0b99a8a

Browse files
committed
[lanai] Use const instead of constexpr
The windows build bot did not like constexpr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279517 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 3804663 commit 0b99a8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Target/Lanai/LanaiAluCode.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ enum AluCode {
4343

4444
// Bits indicating post- and pre-operators should be tested and set using Is*
4545
// and Make* utility functions
46-
constexpr int Lanai_PRE_OP = 0x40;
47-
constexpr int Lanai_POST_OP = 0x80;
46+
const int Lanai_PRE_OP = 0x40;
47+
const int Lanai_POST_OP = 0x80;
4848

4949
inline static unsigned encodeLanaiAluCode(unsigned AluOp) {
5050
unsigned const OP_ENCODING_MASK = 0x07;

0 commit comments

Comments
 (0)