From 7bbc9a4634c2a4f1f3d4e932571883dce55c21fd Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 15 Aug 2021 12:56:59 +0100 Subject: Add `#any_int` directive to replace `auto_cast` uses on parameters. --- src/entity.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/entity.cpp') diff --git a/src/entity.cpp b/src/entity.cpp index cd9d3a88b..e7b888365 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -62,11 +62,12 @@ enum EntityFlag : u64 { EntityFlag_CVarArg = 1ull<<22, EntityFlag_AutoCast = 1ull<<23, + EntityFlag_AnyInt = 1ull<<24, - EntityFlag_Disabled = 1ull<<24, - EntityFlag_Cold = 1ull<<25, // procedure is rarely called + EntityFlag_Disabled = 1ull<<25, + EntityFlag_Cold = 1ull<<26, // procedure is rarely called - EntityFlag_Lazy = 1ull<<26, // Lazily type checked + EntityFlag_Lazy = 1ull<<27, // Lazily type checked EntityFlag_Test = 1ull<<30, -- cgit v1.2.3