From ab066a8a101fd48bba3085c7395b8d7c4ff4d550 Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Fri, 3 Feb 2023 18:34:52 +0900 Subject: v0.10.5 --- src/inpla.y | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/inpla.y b/src/inpla.y index e396a79..a0901e2 100644 --- a/src/inpla.y +++ b/src/inpla.y @@ -22,8 +22,8 @@ // ---------------------------------------------- -#define VERSION "0.10.4" -#define BUILT_DATE "28 January 2023" +#define VERSION "0.10.5" +#define BUILT_DATE "3 February 2023" // ------------------------------------------------------------------ @@ -4132,13 +4132,16 @@ int CmEnv_Optimise_VMCode_CopyPropagation(int target_imcode_addr) { IMCode[target_imcode_addr].opcode = OP_DEAD_CODE; return 1; } + + /* // When the given line is: LOAD_META src1 src1 if ((load_from == load_to) && (IMCode[target_imcode_addr].opcode == OP_LOAD_META)) { IMCode[target_imcode_addr].opcode = OP_DEAD_CODE; return 1; } - + */ + for (int line_num=target_imcode_addr+1; line_num