mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-14 17:49:16 +00:00
Correctly type check asm template parameters
This commit is contained in:
@@ -2419,6 +2419,8 @@ gb_internal void check_asm_template(CheckerContext *ctx, Entity *entity, DeclInf
|
||||
Type *type = alloc_type_proc(ate->param_scope, params, params->Tuple.variables.count, results, results->Tuple.variables.count, false, pt->calling_convention);
|
||||
type->Proc.diverging = pt->diverging;
|
||||
|
||||
entity->type = type;
|
||||
|
||||
check_asm_specs(ctx, ate->param_scope, at->specs, &ate->decls);
|
||||
{ // check clobbers
|
||||
for (Ast *clobber_ : at->clobbers) {
|
||||
|
||||
Reference in New Issue
Block a user