projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IR] Limit bits used for CallingConv::ID, update tests
[oota-llvm.git]
/
include
/
llvm
/
IR
/
CallingConv.h
diff --git
a/include/llvm/IR/CallingConv.h
b/include/llvm/IR/CallingConv.h
index 5c82de62dfd1a320351e8f856923b64c8e0a8f4f..ac7cc9b74ab95f1764bf91bebc9165dc6827c62f 100644
(file)
--- a/
include/llvm/IR/CallingConv.h
+++ b/
include/llvm/IR/CallingConv.h
@@
-156,7
+156,10
@@
namespace CallingConv {
HHVM = 81,
/// \brief HHVM calling convention for invoking C/C++ helpers.
- HHVM_C = 82
+ HHVM_C = 82,
+
+ /// The highest possible calling convention ID. Must be some 2^k - 1.
+ MaxID = 1023
};
} // End CallingConv namespace