summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ir.h b/ir.h
index a4cc1d8b94..7de7c38532 100644
--- a/ir.h
+++ b/ir.h
@@ -53,7 +53,11 @@ public:
virtual void accept(ir_visitor *) = 0;
protected:
- ir_instruction(int mode);
+ ir_instruction(int mode)
+ : mode(mode)
+ {
+ /* empty */
+ }
private:
/**