mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
add call spec counter
This commit is contained in:
parent
8799973ffe
commit
4f376bf4f8
5 changed files with 44 additions and 22 deletions
|
@ -218,9 +218,10 @@ fn call_spec(
|
|||
full_layout: _,
|
||||
ret_layout: _,
|
||||
arg_layouts: _,
|
||||
specialization_id,
|
||||
} => {
|
||||
// TODO annotate each call with a unique identifier
|
||||
let spec_var = CalleeSpecVar(&[]);
|
||||
let array = specialization_id.to_bytes();
|
||||
let spec_var = CalleeSpecVar(&array);
|
||||
|
||||
let arg_value_id = build_tuple_value(builder, env, block, call.arguments)?;
|
||||
let slice = &symbol.to_ne_bytes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue