[lanai] Use const instead of constexpr

The windows build bot did not like constexpr.

llvm-svn: 279517
This commit is contained in:
Jacques Pienaar 2016-08-23 14:36:53 +00:00
parent 5de866bfba
commit c6f0b33662

View File

@ -43,8 +43,8 @@ enum AluCode {
// Bits indicating post- and pre-operators should be tested and set using Is*
// and Make* utility functions
constexpr int Lanai_PRE_OP = 0x40;
constexpr int Lanai_POST_OP = 0x80;
const int Lanai_PRE_OP = 0x40;
const int Lanai_POST_OP = 0x80;
inline static unsigned encodeLanaiAluCode(unsigned AluOp) {
unsigned const OP_ENCODING_MASK = 0x07;