Added static to non extern non main functions in c_generator giving a 12 second compilation speedup - added a nodes touched pass, commented out in main, and fixed the test_extern test to use the right printf arguments.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
ext fun printf(format_str: *char, actual_str: *char): int
|
||||
ext fun printf(format_str: *char, ...): int
|
||||
|
||||
fun main():int {
|
||||
printf("%s", "Hello extern!\n")
|
||||
|
||||
Reference in New Issue
Block a user