forked from aniani/nasm
asm: fix pass_type()
Update the table used by pass_type() to give the name of the pass type. It was not updated properly after PASS_PREPROC was added. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
@@ -1280,6 +1280,8 @@ struct optimization {
|
||||
|
||||
/*
|
||||
* Various types of compiler passes we may execute.
|
||||
* If these are changed, you need to also change _pass_types[]
|
||||
* in asm/nasm.c.
|
||||
*/
|
||||
enum pass_type {
|
||||
PASS_INIT, /* Initialization, not doing anything yet */
|
||||
|
||||
Reference in New Issue
Block a user