mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Working on refactoring, read more
The main program segfaults, but right now I'm working on the tests, mainly.
This commit is contained in:
@@ -855,7 +855,7 @@ static unsigned char* collateCompilerHeaderOpt(Compiler* compiler, int* size, bo
|
||||
case LITERAL_FUNCTION_INTERMEDIATE: {
|
||||
//extract the compiler
|
||||
Literal fn = compiler->literalCache.literals[i];
|
||||
void* fnCompiler = AS_FUNCTION(fn);
|
||||
void* fnCompiler = AS_FUNCTION(fn).bytecode; //store the compiler here for now
|
||||
|
||||
//collate the function into bytecode (without header)
|
||||
int size = 0;
|
||||
|
||||
Reference in New Issue
Block a user