diff --git a/gb.jit/src/jit.h b/gb.jit/src/jit.h index f8e0c7149..7e1d1ad96 100644 --- a/gb.jit/src/jit.h +++ b/gb.jit/src/jit.h @@ -577,7 +577,7 @@ struct PushUnknownExpression : Expression { unsigned short* pc; int name_id; PushUnknownExpression(Expression* obj, int name_id, unsigned short* pc) : - obj(obj), name_id(name_id), pc(pc) { + obj(obj), pc(pc), name_id(name_id) { type = T_VARIANT; ref_stack(); obj->must_on_stack(); @@ -832,7 +832,7 @@ struct JumpEnumFirstExpression : Expression { llvm::Value* ob; int ctrl; JumpEnumFirstExpression(int ctrl, Expression* obj) - : ctrl(ctrl), obj(obj) { + : obj(obj), ctrl(ctrl) { set_ctrl_type(obj->type, ctrl); } void codegen();