Skip to content

Commit

Permalink
Remove some TODOs that I will not do.
Browse files Browse the repository at this point in the history
  • Loading branch information
regehr committed Nov 8, 2011
1 parent db277b7 commit fe462b3
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions utah/scripts/reduce/c_delta.pl
Expand Up @@ -27,23 +27,7 @@

# TODO:

# add a global termination constraint-- reduce size across all passes

# turn a union type into a struct
# remove argument from function, including all calls
# transform a function to return void
# inline a function call
# only for small functions, and only when delta has already
# gotten pretty far
# remove function call from its enclosing expression
# look for preceding semicolon or open curly brace
# move arguments and locals to global scope
# remove level of pointer indirection
# remove array dimension
# do copy propagation
# especially try to replace calls and arguments with available exprs
# replace for-loops with expressions guessed from initializers
# guess that it executes 0 and 1 times

# get speedup by adding fast bailouts from test scripts
# super-fast: just runs one compiler at -O0 look for syntactical correctness
Expand Down Expand Up @@ -72,9 +56,6 @@

# watch for unexpected abnormal compiler outputs

# long term: rewrite this tool to operate on ASTs
# need a tool that can pretty-print almost exactly the original code

######################################################################

use strict;
Expand Down

0 comments on commit fe462b3

Please sign in to comment.