LibJS: Add parentheses to ALLOCATE_EXECUTION_CONTEXT_ON_NATIVE_STACK()

Just to stop clang-tidy from complaining about it every time.
This commit is contained in:
Andreas Kling 2025-04-27 11:51:56 +02:00 committed by Andreas Kling
commit 93788f8057
Notes: github-actions[bot] 2025-04-27 23:25:03 +00:00

View file

@ -118,8 +118,8 @@ private:
registers_and_constants_and_locals_count, \
arguments_count) \
auto execution_context_size = sizeof(JS::ExecutionContext) \
+ ((registers_and_constants_and_locals_count) + (arguments_count)) \
* sizeof(JS::Value); \
+ (((registers_and_constants_and_locals_count) + (arguments_count)) \
* sizeof(JS::Value)); \
\
void* execution_context_memory = alloca(execution_context_size); \
\