Register stuff cleanup
This commit is contained in:
@@ -40,10 +40,12 @@ compile_to_bc(){
|
||||
Bc *b = &bc;
|
||||
For_Named(pctx->ordered_decls, ast){
|
||||
switch(ast->kind){
|
||||
|
||||
CASE(LAMBDA, Decl){
|
||||
unused(node);
|
||||
// node->bytecode_data_position = emit_lambda();
|
||||
BREAK();
|
||||
}
|
||||
|
||||
CASE(VAR, Decl){
|
||||
node->bytecode_data_position = exp_alloc(&b->memory, node->type->size, AF_ZeroMemory);
|
||||
if(node->expr){
|
||||
|
||||
Reference in New Issue
Block a user