aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-12-05 21:39:15 -0500
committerAndrew Kelley <superjoe30@gmail.com>2016-12-05 21:39:15 -0500
commit0c531d447df88ed6c46e759fbfc9d253d2650c22 (patch)
treef2c83b6c7c099e155f3b1ff58186f907e5494126 /src/codegen.cpp
parentbed83bc5a14aa6c0480dcfa842d97cce64427e1b (diff)
downloadzig-0c531d447df88ed6c46e759fbfc9d253d2650c22.tar.gz
zig-0c531d447df88ed6c46e759fbfc9d253d2650c22.zip
remove the boolean argument from setFnTest
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 8106b9f33a..00f81a3bf7 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -3083,7 +3083,7 @@ static void define_builtin_fns(CodeGen *g) {
create_builtin_fn_with_arg_count(g, BuiltinFnIdCompileErr, "compileError", 1);
create_builtin_fn_with_arg_count(g, BuiltinFnIdIntType, "intType", 2);
create_builtin_fn_with_arg_count(g, BuiltinFnIdUnreachable, "unreachable", 0);
- create_builtin_fn_with_arg_count(g, BuiltinFnIdSetFnTest, "setFnTest", 2);
+ create_builtin_fn_with_arg_count(g, BuiltinFnIdSetFnTest, "setFnTest", 1);
create_builtin_fn_with_arg_count(g, BuiltinFnIdSetFnVisible, "setFnVisible", 2);
create_builtin_fn_with_arg_count(g, BuiltinFnIdSetFnNoInline, "setFnNoInline", 2);
create_builtin_fn_with_arg_count(g, BuiltinFnIdSetDebugSafety, "setDebugSafety", 2);