nv50/ir: make Graph destructor virtual
authorStephan Bergmann <stephan.bergmann.secondary@googlemail.com>
Thu, 9 Jun 2016 15:13:20 +0000 (17:13 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 14 Jun 2016 02:55:11 +0000 (22:55 -0400)
commit0140938b26c9585fb432a4391ddef2f82b91a57d
treedc3928e50ededf1e119e4a4b0142b810fe4f5b77
parentbe32a2132785fbc119f17e62070e007ee7d17af7
nv50/ir: make Graph destructor virtual

Avoid ASan new-delete-type-mismatch when Function::domTree is created as
DominatorTree in Function::convertToSSA but destroyed only as base
Graph in ~Function.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_graph.h