Skip to content

Commit 0e1b315

Browse files
committed
fixup! Use stack space from the ExecutionContext
1 parent 4e63332 commit 0e1b315

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/fizzy/stack.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ class OperandStack
8888
/// space after the arguments.
8989
/// @param max_stack_height The maximum operand stack height in the function. This
9090
/// excludes @a args and @a num_local_variables.
91-
OperandStack(const Value* args, size_t num_args, size_t num_local_variables, Value* stack_space)
91+
OperandStack(
92+
const Value* args, size_t num_args, size_t num_local_variables, Value* stack_space) noexcept
9293
{
9394
const auto num_locals = num_args + num_local_variables;
9495
// To avoid potential UB when there are no locals and the stack pointer is set to

0 commit comments

Comments
 (0)