diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-04 01:31:56 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-14 15:18:21 +0900 |
commit | 2490b2e1216f02aa896abdf121a28e50cac107c3 (patch) | |
tree | 8d76b8bae254eb4f2d9083fe8f52c661230d6cab /compile.c | |
parent | 45f0e3a673964069a4c9c57ce8665cbc21ac267f (diff) | |
download | ruby-2490b2e1216f02aa896abdf121a28e50cac107c3.tar.gz |
Add utility macros `DECIMAL_SIZE_OF` and `DECIMAL_SIZE_OF_BYTES`
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8275,7 +8275,7 @@ compile_builtin_function_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NOD } else { # define BUILTIN_INLINE_PREFIX "_bi" - char inline_func[DECIMAL_SIZE_OF_BITS(sizeof(int) * CHAR_BIT) + sizeof(BUILTIN_INLINE_PREFIX)]; + char inline_func[sizeof(BUILTIN_INLINE_PREFIX) + DECIMAL_SIZE_OF(int)]; bool cconst = false; retry:; const struct rb_builtin_function *bf = iseq_builtin_function_lookup(iseq, builtin_func); |