Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

@@ -0,0 +1,32 @@
// Copyright (c) 2026 Alexander Medvednikov. All rights reserved.
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
module ssa
pub enum CallConv {
c_decl
fast_call
wasm_std
}
pub enum Linkage {
external
private
internal
}
pub struct Function {
pub:
id int
name string
typ TypeID
pub mut:
blocks []BlockID
params []ValueID
is_c_extern bool // C-language extern function (no V body, provided by C headers/libraries)
is_prototype bool // Registered declaration/signature whose body has not been materialized
linkage Linkage
call_conv CallConv
}