Commit 6b3f4563 authored by Christoph Mallon's avatar Christoph Mallon

lower: Constify.

parent 89a0191c
......@@ -210,7 +210,7 @@ changed:
panic("unexpected builtin %+F", node);
}
void lower_builtins(size_t n_exceptions, ir_builtin_kind *exceptions)
void lower_builtins(size_t const n_exceptions, ir_builtin_kind const *const exceptions)
{
memset(dont_lower, 0, sizeof(dont_lower));
for (size_t i = 0; i < n_exceptions; ++i) {
......
......@@ -14,6 +14,6 @@
#include "firm_types.h"
#include <stddef.h>
void lower_builtins(size_t n_exceptions, ir_builtin_kind *exceptions);
void lower_builtins(size_t n_exceptions, ir_builtin_kind const *exceptions);
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment