Use latest aebytecode. #527

Merged
zxq9 merged 2 commits from latest_aebytecode into fortuna 2019-03-04 22:22:37 +09:00
Showing only changes of commit 187ff03caa - Show all commits

View File

@ -95,7 +95,7 @@ to_scode(_Env, #integer{ value = N }) ->
to_scode(Env, #var_ref{name = X}) ->
case lookup_var(Env, X) of
false -> error({unbound_variable, X, Env});
{stack, N} -> [aeb_fate_code:dup(N)];
{stack, N} -> [aeb_fate_code:dup(?i(N))];
{arg, N} -> [aeb_fate_code:push({arg, N})]
end;
to_scode(Env, #binop{ op = Op, left = A, right = B }) ->