diff --git a/gb.jit/src/jit.h b/gb.jit/src/jit.h index cd45afb7b..2152e5ddf 100644 --- a/gb.jit/src/jit.h +++ b/gb.jit/src/jit.h @@ -874,9 +874,9 @@ struct NopExpression : Expression { memcpy(buf, str, len+1); } - /*NopExpression(){ + NopExpression(){ buf = "..."; - }*/ + } void codegen(); ~NopExpression(){ diff --git a/gb.jit/src/jit_codegen.cpp b/gb.jit/src/jit_codegen.cpp index a263459e4..911040edb 100644 --- a/gb.jit/src/jit_codegen.cpp +++ b/gb.jit/src/jit_codegen.cpp @@ -65,7 +65,7 @@ const size_t TYPE_sizeof_memory_tab[16] = { 0, 1, 1, 2, 4, 8, 4, 8, 8, sizeof(vo ///DEBUG void print_type(llvm::Value* v); -static std::set mappings; +static std::set mappings; //static std::map variable_mappings; static llvm::LLVMContext llvm_context; diff --git a/gb.jit/src/jit_read.cpp b/gb.jit/src/jit_read.cpp index aa9ee38ad..aae08e913 100644 --- a/gb.jit/src/jit_read.cpp +++ b/gb.jit/src/jit_read.cpp @@ -919,7 +919,7 @@ static void JIT_read_statement(){ } case C_BREAK: //PC = code+pos; - push_statement(new NopExpression(JIF.F_DEBUG_get_current_position())); + push_statement(new NopExpression(/*JIF.F_DEBUG_get_current_position()*/)); //PC = code; //push_statement(new NopExpression()); NEXT