There is no class ir_label, so there's no need for ir_instruction::as_label
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Jun 2010 20:39:45 +0000 (13:39 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Jun 2010 20:39:45 +0000 (13:39 -0700)
ir.h

diff --git a/ir.h b/ir.h
index 784e41fcb6717f232eb6e9f45ff9b09b08e87525..bf3400aa921ac3c8320174e6320bb16a9fc623e5 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -58,7 +58,6 @@ public:
    virtual class ir_dereference *       as_dereference()      { return NULL; }
    virtual class ir_dereference_array *        as_dereference_array() { return NULL; }
    virtual class ir_rvalue *            as_rvalue()           { return NULL; }
-   virtual class ir_label *             as_label()            { return NULL; }
    virtual class ir_loop *              as_loop()             { return NULL; }
    virtual class ir_assignment *        as_assignment()       { return NULL; }
    virtual class ir_call *              as_call()             { return NULL; }