inline dbg

This commit is contained in:
Folkert 2022-11-23 21:23:28 +01:00
parent dcb530d3af
commit e7f3c6f281
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
18 changed files with 192 additions and 21 deletions

View file

@ -1119,6 +1119,25 @@ pub(crate) fn run_low_level<'a, 'ctx, 'env>(
ptr.into()
}
},
Dbg => {
// now what
arguments!(condition);
let region = roc_region::all::Region::zero(); // todo
crate::llvm::expect::clone_to_shared_memory(
env,
scope,
layout_ids,
args[0],
region,
&[],
);
crate::llvm::expect::send_dbg(env);
condition
}
}
}