mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
General functionality without context
This commit is contained in:
@@ -97,6 +97,7 @@ struct lbBlock {
|
||||
LLVMBasicBlockRef block;
|
||||
Scope *scope;
|
||||
isize scope_index;
|
||||
bool appended;
|
||||
|
||||
Array<lbBlock *> preds;
|
||||
Array<lbBlock *> succs;
|
||||
@@ -220,7 +221,7 @@ void lb_end_procedure(lbProcedure *p);
|
||||
|
||||
LLVMTypeRef lb_type(lbModule *m, Type *type);
|
||||
|
||||
lbBlock *lb_create_block(lbProcedure *p, char const *name);
|
||||
lbBlock *lb_create_block(lbProcedure *p, char const *name, bool append=false);
|
||||
|
||||
lbValue lb_const_nil(lbModule *m, Type *type);
|
||||
lbValue lb_const_undef(lbModule *m, Type *type);
|
||||
|
||||
Reference in New Issue
Block a user