Mercurial > hg > CbC > CbC_examples
changeset 10:ecf908a95702
add proto.c for code segment declaration generating test
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 16 Apr 2015 19:39:51 +0900 |
parents | 34365a1eb6a3 |
children | 6d45489b5dcb |
files | Makefile arg.c |
diffstat | 2 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Feb 24 23:15:57 2015 +0900 +++ b/Makefile Thu Apr 16 19:39:51 2015 +0900 @@ -1,5 +1,5 @@ CC=/Users/e105711/prog/seminar/CbC/llvmInst/Debug+Asserts/bin/clang -TARGET=bug conv fact-a loto6 normal normal2 test01 test02 test04 test05 test_array test_call test_cs test_para test_para2 test_para4 test_return test_struct test_tailcall1 test_tree tmp1 tmp2 tmp4 test_csp1 test_func2code tmpa too-long-argument test1 stack1 test2 arg test_para3 +TARGET=bug conv fact-a loto6 normal normal2 test01 test02 test04 test05 test_array test_call test_cs test_para test_para2 test_para4 test_return test_struct test_tailcall1 test_tree tmp1 tmp2 tmp4 test_csp1 test_func2code tmpa too-long-argument test1 stack1 test2 arg test_para3 proto CFLAGS= -D"CLANG" .SUFFIXES: .c .s
--- a/arg.c Tue Feb 24 23:15:57 2015 +0900 +++ b/arg.c Thu Apr 16 19:39:51 2015 +0900 @@ -9,13 +9,6 @@ void *exit_env; __code (*exit___code)(); -__code carg1(int arg0,int arg1,int arg2,int arg3,int arg4,__code(*exit1)(int, void*),void *env); -__code carg2(int arg0,int arg1,int arg2,int arg3,int arg4,__code(*exit1)(int, void*),void *env); -__code cargs(struct arg args0,__code(*exit1)(int, void*),void *env); -__code carg3(struct arg args0,struct arg args1,int i, int j,int k,int l); -__code carg4(struct arg args0,struct arg args1,int i, int j,int k,int l); -__code carg5(struct arg args0,struct arg args1,int i, int j,int k,int l); -__code carg6(int i, int j,int k,int l,struct arg args0); int main1(int n); __code carg1(int arg0,int arg1,int arg2,int arg3,int arg4,__code(*exit1)(int, void*),void *env)