summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/codegen/nv50_ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv50/codegen/nv50_ir.h')
-rw-r--r--src/gallium/drivers/nv50/codegen/nv50_ir.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir.h b/src/gallium/drivers/nv50/codegen/nv50_ir.h
index 32511f64e88..8d86a9ce282 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir.h
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir.h
@@ -449,6 +449,7 @@ class Value
{
public:
Value();
+ virtual ~Value() { }
virtual Value *clone(Function *) const { return NULL; }
@@ -496,6 +497,7 @@ class LValue : public Value
public:
LValue(Function *, DataFile file);
LValue(Function *, LValue *);
+ ~LValue() { }
virtual Value *clone(Function *) const;
@@ -511,6 +513,7 @@ class Symbol : public Value
{
public:
Symbol(Program *, DataFile file = FILE_MEMORY_CONST, ubyte fileIdx = 0);
+ ~Symbol() { }
virtual Value *clone(Function *) const;
@@ -543,9 +546,9 @@ public:
ImmediateValue(Program *, uint32_t);
ImmediateValue(Program *, float);
ImmediateValue(Program *, double);
-
// NOTE: not added to program with
ImmediateValue(const ImmediateValue *, DataType ty);
+ ~ImmediateValue() { };
virtual bool equals(const Value *that, bool strict) const;