mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
inline dbg
This commit is contained in:
parent
dcb530d3af
commit
e7f3c6f281
18 changed files with 192 additions and 21 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue