mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Produce a debug print when using jump tables.
This commit is contained in:
parent
4c1dc568e0
commit
b68401e552
1 changed files with 1 additions and 0 deletions
|
@ -357,6 +357,7 @@ build_switch (expr_t *sw, case_node_t *tree, int op, expr_t *sw_val,
|
|||
append_expr (sw, branch);
|
||||
branch = new_binary_expr ('g', table_expr, temp);
|
||||
append_expr (sw, branch);
|
||||
debug (sw, "switch using jump table");
|
||||
if (tree->left) {
|
||||
append_expr (sw, low_label);
|
||||
build_switch (sw, tree->left, op, sw_val, temp, default_label);
|
||||
|
|
Loading…
Reference in a new issue