From 28bd3e371b1f31cb243f0df56b9c7720971a89db Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 10 Dec 2018 15:49:04 +0100 Subject: prog: support AUTO args in programs AUTO arguments can be used for: - consts - lens - pointers For const's and len's AUTO is replaced with the natural value, addresses for AUTO pointers are allocated linearly. This greatly simplifies writing test programs by hand as most of the time we want these natural values. Update tests to use AUTO. --- executor/syscalls.h | 1 + 1 file changed, 1 insertion(+) (limited to 'executor/syscalls.h') diff --git a/executor/syscalls.h b/executor/syscalls.h index e720e664c..3629d04b1 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -13542,6 +13542,7 @@ const call_t syscalls[] = { {"test$array0", 0}, {"test$array1", 0}, {"test$array2", 0}, + {"test$auto0", 0}, {"test$bf0", 0}, {"test$bf1", 0}, {"test$csum_encode", 0}, -- cgit mrf-deployment