Trying to do some ir stuff
This commit is contained in:
3
main.cpp
3
main.cpp
@@ -171,7 +171,7 @@ want to export all the symbols, we can namespace them optionally.
|
||||
#include "c_language_codegen.cpp"
|
||||
#include "intermediate_representation.cpp"
|
||||
// #include "bytecode_interpreter.cpp"
|
||||
// #include "bytecode_codegen.cpp"
|
||||
#include "bytecode_codegen.cpp"
|
||||
|
||||
|
||||
int main(int argument_count, char **arguments){
|
||||
@@ -236,6 +236,7 @@ int main(int argument_count, char **arguments){
|
||||
|
||||
|
||||
arena_clear(&pctx->stage_arena);
|
||||
build_bytecode();
|
||||
// compile_to_bc();
|
||||
// __debugbreak();
|
||||
String result = get_compilation_result();
|
||||
|
||||
Reference in New Issue
Block a user