From 2c5abddc3667e5f114d41a5aabaf3715f8fa22b0 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sun, 20 Sep 2026 14:01:19 -0700 Subject: 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. --- chapter20/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chapter20/Makefile') 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 -- cgit v1.2.3