diff src/vim9execute.c @ 25814:dd4e86558836 v8.2.3442

patch 8.2.3442: Vim9: || and && are not handled at compile time Commit: https://github.com/vim/vim/commit/1a7ee4dd115329052670d7af176341bd09c9dc5a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 16 16:15:07 2021 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Sep 2021 16:30:06 +0200
parents fe8d153cb268
children e8873138ffbb
line wrap: on
line diff
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -5487,6 +5487,9 @@ list_instructions(char *pfx, isn_T *inst
 			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;