Skip to content

Commit b9e2927

Browse files
committed
allocmem of task.c corrected
1 parent f10ecdf commit b9e2927

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/task.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,7 @@ static BOOL interpret(LmnReactCxt *rc, LmnRule rule, LmnRuleInstr instr)
945945
v[i].wt = (LmnWord)t;
946946
} else {
947947
t = 0;
948+
// v[i].wt = wt(rc, i); // allocmem命令の場合はTT_OTHERになっている(2014-05-08 ueda)
948949
//lmn_fatal("implementation error");
949950
}
950951
}
@@ -1818,6 +1819,7 @@ static BOOL interpret(LmnReactCxt *rc, LmnRule rule, LmnRuleInstr instr)
18181819
LmnInstrVar dstmemi;
18191820
READ_VAL(LmnInstrVar, instr, dstmemi);
18201821
wt_set(rc, dstmemi, lmn_mem_make());
1822+
tt_set(rc, dstmemi, TT_OTHER); /* 2014-05-08, ueda */
18211823
break;
18221824
}
18231825
case INSTR_REMOVEATOM:

0 commit comments

Comments
 (0)