aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index 0fc74d2212..3deeff5980 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -1257,6 +1257,7 @@ enum ZigLLVMFnId {
ZigLLVMFnIdClz,
ZigLLVMFnIdOverflowArithmetic,
ZigLLVMFnIdOverflowArithmeticPanic,
+ ZigLLVMFnIdBoundsCheck,
};
enum AddSubMul {
@@ -1280,6 +1281,10 @@ struct ZigLLVMFnKey {
uint32_t bit_count;
bool is_signed;
} overflow_arithmetic;
+ struct {
+ LLVMIntPredicate pred;
+ uint32_t bit_count;
+ } bounds_check;
} data;
};