Merge branch 'specialize-lowlevel' into morphic-static-strings

This commit is contained in:
Folkert de Vries 2021-05-24 20:41:57 +02:00 committed by GitHub
commit 61f0fe0927
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
85 changed files with 6104 additions and 3456 deletions

View file

@ -310,12 +310,6 @@ fn call_spec(
let module = MOD_APP;
builder.add_call(block, spec_var, module, name, arg_value_id)
}
ByPointer {
name: _,
full_layout: _,
ret_layout: _,
arg_layouts: _,
} => todo!(),
Foreign {
foreign_symbol: _,
ret_layout,
@ -339,6 +333,7 @@ fn call_spec(
*update_mode,
call.arguments,
),
HigherOrderLowLevel { .. } => todo!(),
}
}
@ -470,7 +465,6 @@ fn expr_spec(
Literal(literal) => {
literal_spec(env.arena, builder, &mut env.statics, block, *lhs, literal)
}
FunctionPointer(_, _) => todo!(),
Call(call) => call_spec(builder, env, block, layout, call),
Tag {
tag_layout,