From 829e0174acac0adee10595cc04dd32cb64753107 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 7 Jun 2019 10:56:35 +0200 Subject: stderr>file in bytecode --- src/bytecode/bytecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bytecode') diff --git a/src/bytecode/bytecode.c b/src/bytecode/bytecode.c index 789a9f6..8aae03e 100644 --- a/src/bytecode/bytecode.c +++ b/src/bytecode/bytecode.c @@ -252,7 +252,7 @@ static void add_instructions(BytecodeCompilerContext *self) { #else #define ARITH_OP(op) do {\ instruction += ssa_extract_form2(instruction, &ssa_ins_form2); \ - fprintf(stderr, "%s r%d, r%d, r%d\n", (op), ssa_ins_form2.result, ssa_ins_form2.lhs, ssa_ins_form2.rhs); \ + fprintf(file, "%s r%d, r%d, r%d\n", (op), ssa_ins_form2.result, ssa_ins_form2.lhs, ssa_ins_form2.rhs); \ } while(0) while(instruction != instructions_end) { -- cgit v1.2.3