aboutsummaryrefslogtreecommitdiff
path: root/src/bytecode
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-06-07 10:56:35 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit829e0174acac0adee10595cc04dd32cb64753107 (patch)
tree29e08cc88b8ce3741ec27c50d4b4f2e4f6f171a1 /src/bytecode
parent5fbafa2653e27956fc37e8534b56617017c6fa53 (diff)
stderr>file in bytecode
Diffstat (limited to 'src/bytecode')
-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) {