From 95e6cafe7cf495977a8210c5d48ab85b7829137c Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 26 Oct 2022 16:06:16 +0300 Subject: [PATCH] cleanup --- ir.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ir.h b/ir.h index 2aca460..bb5f758 100644 --- a/ir.h +++ b/ir.h @@ -258,13 +258,15 @@ typedef enum _ir_type { _(IJMP, T2X1, src, def, ret) /* computed goto */ \ _(ENTRY, S0X2, num, ent, ___) /* code entry (op3 keeps addr) */ \ \ - /* guards (floating or not) ??? */ \ + /* guards */ \ _(GUARD, c3, src, def, def) /* IF without second successor */ \ _(GUARD_NOT , c3, src, def, def) /* IF without second successor */ \ \ - /* tracing JIT helpers */ \ - _(EXITCALL, x2, src, def, ___) /* save all CPU registers */ \ - _(SNAPSHOT, xN, src, def, def) /* CALL(src, args...) */ \ + /* deoptimization */ \ + _(SNAPSHOT, xN, src, def, def) /* SNAPSHOT(src, args...) */ \ + \ + /* deoptimization helper */ \ + _(EXITCALL, x2, src, def, ___) /* save CPU regs and call op2 */ \ #define IR_OP_ENUM(name, flags, op1, op2, op3) IR_ ## name,