diff options
| author | Shinya Sato <shinnya.sato@gmail.com> | 2023-02-03 18:34:52 +0900 |
|---|---|---|
| committer | Shinya Sato <shinnya.sato@gmail.com> | 2023-02-03 18:34:52 +0900 |
| commit | ab066a8a101fd48bba3085c7395b8d7c4ff4d550 (patch) | |
| tree | c8c731a3718134e33d8b9ff35f2543eee436c603 /src | |
| parent | 0dbe8373540f8005827db754c728e89dd841a907 (diff) | |
| download | inpla-ab066a8a101fd48bba3085c7395b8d7c4ff4d550.tar.gz inpla-ab066a8a101fd48bba3085c7395b8d7c4ff4d550.zip | |
v0.10.5
Diffstat (limited to '')
| -rw-r--r-- | src/inpla.y | 9 |
1 files changed, 6 insertions, 3 deletions
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<IMCode_n; line_num++) { imcode = &IMCode[line_num]; |
