]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commit
Constant fold intrinsics if their arguments are constant. TODO: reference count intri...
authorDale Weiler <killfieldengine@gmail.com>
Wed, 28 Aug 2013 16:46:22 +0000 (12:46 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Wed, 28 Aug 2013 16:46:22 +0000 (12:46 -0400)
commit3b4a5667ea8b1b7aa8a10734c57c02d1561fcdd7
treea94ebcfc305db1b94ac33dfb6e8297509c8fd91b
parentbbe4927a20492e98c1b58d6f10fbe6eddcc72189
Constant fold intrinsics if their arguments are constant. TODO: reference count intrinsics such that they're not generated unless they're used, currently when an intrinsic can be folded-away it's marked for generation and makes it to the final output binary even though it isn't used.
ast.c
ast.h
fold.c
intrin.c
parser.c
parser.h