-
Notifications
You must be signed in to change notification settings - Fork 4
Comparing changes
Open a pull request
base repository: m-labs/flickernoise
base: d755a0b
head repository: m-labs/flickernoise
compare: 6259a03
- 10 commits
- 27 files changed
- 1 contributor
Commits on Jan 12, 2012
-
compiler: rename unique_{free,dump} to symtab_*
Leaving "unique" and "unique_n" for now because I can't decide on a good name.
Configuration menu - View commit details
-
Copy full SHA for 5cdc43b - Browse repository at this point
Copy the full SHA 5cdc43bView commit details -
compiler: optionally warn if using a variable in the wrong section (WIP)
This warning is currently only accessible via ptest, with the option -Wsection. To do: - generalize the notification mechanism (currently printf) - consider also handling variables like x, y, rad
Configuration menu - View commit details
-
Copy full SHA for 5fa3a61 - Browse repository at this point
Copy the full SHA 5fa3a61View commit details -
Configuration menu - View commit details
-
Copy full SHA for edecc6e - Browse repository at this point
Copy the full SHA edecc6eView commit details -
compiler: -Wundefined to warn about undefined variables (WIP)
Limitations: - complains about iterative calculations like avg = A*avg+(1-A)*VALUE - no way to explicitly initialize variables to zero (making the warning go away)
Configuration menu - View commit details
-
Copy full SHA for cb6d92a - Browse repository at this point
Copy the full SHA cb6d92aView commit details -
regression tests: attempt only valid assignments in initial/global se…
…ction Many tests consisted of a single line like x = something which are not valid, because "x" is not a per-frame variable. The next commit will slightly tighten the checks the compiler performs even without code generation, so we need to make the test cases a little more correct.
Configuration menu - View commit details
-
Copy full SHA for eaffaac - Browse repository at this point
Copy the full SHA eaffaacView commit details -
compiler: allow explicit zero-initialization to suppress warning
This is applicable to all variables, not only per-frame variables.
Configuration menu - View commit details
-
Copy full SHA for 6e7d6c1 - Browse repository at this point
Copy the full SHA 6e7d6c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab35e12 - Browse repository at this point
Copy the full SHA ab35e12View commit details -
compiler: symbol table can now be iterated
symtab.h defines a macro forall_syms() that iterates over all symbols. This means that it's now trivial to implement symtab_dump, and we can therefore remove it.
Configuration menu - View commit details
-
Copy full SHA for 068cfc9 - Browse repository at this point
Copy the full SHA 068cfc9View commit details -
compiler: -Wundefined now also works for old-style patches
Old style assumes everything is implicitly initialized to zero. We can still report identifiers that are never assigned to, though. New style allows explicit initialization and thus can report uninitialized variables immediately when they're read.
Configuration menu - View commit details
-
Copy full SHA for 1f53fb2 - Browse repository at this point
Copy the full SHA 1f53fb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6259a03 - Browse repository at this point
Copy the full SHA 6259a03View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff d755a0b...6259a03