forked from aniani/vim
patch 8.2.3442: Vim9: || and && are not handled at compile time
Problem: Vim9: || and && are not handled at compile time when possible. Solution: When using constants generate fewer instructions.
This commit is contained in:
@@ -5487,6 +5487,9 @@ list_instructions(char *pfx, isn_T *instr, int instr_count, ufunc_T *ufunc)
|
||||
case JUMP_ALWAYS:
|
||||
when = "JUMP";
|
||||
break;
|
||||
case JUMP_NEVER:
|
||||
iemsg("JUMP_NEVER should not be used");
|
||||
break;
|
||||
case JUMP_AND_KEEP_IF_TRUE:
|
||||
when = "JUMP_AND_KEEP_IF_TRUE";
|
||||
break;
|
||||
|
Reference in New Issue
Block a user