aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bytecode/bytecode.c2
1 files changed, 1 insertions, 1 deletions
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) {