1
0
Fork 0
forked from koniifer/ableos
This commit is contained in:
mlokr 2024-07-19 12:42:06 +02:00
parent 72e731b1a1
commit cd73bee1d5

View file

@ -1713,7 +1713,6 @@ impl Codegen {
ty::Kind::Builtin(ty::TYPE) => { ty::Kind::Builtin(ty::TYPE) => {
self.ci.free_loc(tal.loc); self.ci.free_loc(tal.loc);
self.pop_local_snap(checkpoint); self.pop_local_snap(checkpoint);
self.report_log(target.pos(), format_args!("field: {expr}"));
match ty::Kind::from_ty(self.ty(target)) { match ty::Kind::from_ty(self.ty(target)) {
ty::Kind::Module(idx) => { ty::Kind::Module(idx) => {
match self.find_or_declare(target.pos(), idx, Err(field), "") { match self.find_or_declare(target.pos(), idx, Err(field), "") {
@ -1886,7 +1885,6 @@ impl Codegen {
let loc = self.alloc_ret(sig.ret, ctx); let loc = self.alloc_ret(sig.ret, ctx);
if should_momize { if should_momize {
self.report_log(expr.pos(), format_args!("momized call: {expr}"));
self.output.write_trap(trap::Trap::MomizedCall(trap::MomizedCall { func })); self.output.write_trap(trap::Trap::MomizedCall(trap::MomizedCall { func }));
} }