diff --git a/ir/irtype.h b/ir/irtype.h index 9fdd203f..6b388468 100644 --- a/ir/irtype.h +++ b/ir/irtype.h @@ -81,7 +81,7 @@ public: /// virtual IrTypeStruct* isStruct() { return 0; } /// - IrTypeVector* isVector() { return 0; } + virtual IrTypeVector* isVector() { return 0; } /// Type* getDType() { return dtype; }