Skip to content

Commit

Permalink
[lanai] Use const instead of constexpr
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jpienaar committed Aug 23, 2016
1 parent 3804663 commit 0b99a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Target/Lanai/LanaiAluCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0b99a8a

Please sign in to comment.