The book’s code repository had its structure changed:
Before, code for the baseline compiler (from Part I) was in the main branch, and the code for the extended compiler (from Part II) was in the part-2 branch. Now the two compilers reside on the main branch in separate folders.
Thanks, @gengjiawen for raising the issue about this.