diff options
| author | Cliff Click <cliffc@acm.org> | 2026-09-20 14:01:19 -0700 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2026-09-20 14:01:19 -0700 |
| commit | 2c5abddc3667e5f114d41a5aabaf3715f8fa22b0 (patch) | |
| tree | 634e8cc1316c60e0671b7f755adc0e41e10f0e63 /chapter20/Makefile | |
| parent | 942a85c5be51686d7a426d8f21e66cd8ea57e945 (diff) | |
| download | Simple-2c5abddc3667e5f114d41a5aabaf3715f8fa22b0.tar.gz Simple-2c5abddc3667e5f114d41a5aabaf3715f8fa22b0.zip | |
Ch 20 Reg Alloc
Includes all bug fixes from later chapters, so its at least correct.
Skips a lot of improvement heuristics, these get added in later chapters.
Includes spill-stats, to more easily track improvements.
Includes targeted tests.
Diffstat (limited to 'chapter20/Makefile')
| -rw-r--r-- | chapter20/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter20/Makefile b/chapter20/Makefile index c5d8fa71..9e33ae91 100644 --- a/chapter20/Makefile +++ b/chapter20/Makefile @@ -71,6 +71,10 @@ tests: $(default_targets) @$(JVM) org.junit.runner.JUnitCore $(test_cp) @$(JVM) org.junit.runner.JUnitCore com.seaofnodes.simple.FuzzerWrap +# Report measured spill totals while retaining the tests' assertions. +spill-stats: $(default_targets) + @$(JVM) com.seaofnodes.simple.SpillStats + fuzzer: $(default_targets) @echo "fuzzing " $(test_cp) @$(JVM) org.junit.runner.JUnitCore com.seaofnodes.simple.FuzzerWrap @@ -89,7 +93,7 @@ view: $(main_classes) @echo "viewing " @$(JVM) com.seaofnodes.simple.print.JSViewer -.PHONY: clean +.PHONY: clean spill-stats clean: rm -rf build rm -f TAGS |
