History

Arrange debug flag table to match pass order

This makes it easier to determine which flag to pass to show the desired debug info.

Michael Forney committed 5 years ago

Commit 9c4e4bc1 parent d3313ad1 file · +3 −3Browse files

Unified · Split

main.c+3−3
@@ -24,13 +24,13 @@ enum Asm { · 23 unmodified lines
24 24
25char debug['Z'+1] = {25char debug['Z'+1] = {
26 ['P'] = 0, /* parsing */26 ['P'] = 0, /* parsing */
27 ['A'] = 0, /* abi lowering */
28 ['I'] = 0, /* instruction selection */
29 ['L'] = 0, /* liveness */
30 ['M'] = 0, /* memory optimization */27 ['M'] = 0, /* memory optimization */
31 ['N'] = 0, /* ssa construction */28 ['N'] = 0, /* ssa construction */
32 ['C'] = 0, /* copy elimination */29 ['C'] = 0, /* copy elimination */
33 ['F'] = 0, /* constant folding */30 ['F'] = 0, /* constant folding */
31 ['A'] = 0, /* abi lowering */
32 ['I'] = 0, /* instruction selection */
33 ['L'] = 0, /* liveness */
34 ['S'] = 0, /* spilling */34 ['S'] = 0, /* spilling */
35 ['R'] = 0, /* reg. allocation */35 ['R'] = 0, /* reg. allocation */
36};36};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t