compiler: Reserve BB#0 for "null" comparison.
authorTyler J. Stachecki <stachecki.tyler@gmail.com>
Sun, 23 Apr 2017 13:20:56 +0000 (09:20 -0400)
committerTyler J. Stachecki <stachecki.tyler@gmail.com>
Sun, 23 Apr 2017 13:20:56 +0000 (09:20 -0400)
commitdbf2022c1121b5eb57070d4b051231e704f71f8f
treeaaf0fcf19180b5876dfb013a1a7d7c2ee7e32b94
parent4f87076de9856a335e51fc77b61db478b52f79cf
compiler: Reserve BB#0 for "null" comparison.

Since we're using integers to represent our basic block
numbers, reserve the first basic block (BB#0) and use it
as a "null" value.

Signed-off-by: Tyler J. Stachecki <stachecki.tyler@gmail.com>
compiler/backends/x86_64/backend.c
compiler/driver.c
compiler/passes/insert_start_nodes.c
compiler/passes/list_builder.c
compiler/passes/ssa_conversion.c