diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-07 18:03:50 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-07 18:03:50 -0700 |
commit | b427c917ce47675b102fac3ddace883629ff6be8 (patch) | |
tree | cf5f160e50e15220268735683f4820300549df3a /ir.h | |
parent | fbc7c0b8f2e161bce1c048c63d2d5cfcdeb096f1 (diff) |
Remove extraneous base-class constructor calls
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -78,7 +78,10 @@ public: } protected: - ir_rvalue() : ir_instruction() { } + ir_rvalue() + { + /* empty */ + } }; @@ -469,7 +472,7 @@ public: class ir_call : public ir_rvalue { public: ir_call(const ir_function_signature *callee, exec_list *actual_parameters) - : ir_rvalue(), callee(callee) + : callee(callee) { assert(callee->return_type != NULL); type = callee->return_type; @@ -504,7 +507,7 @@ public: private: ir_call() - : ir_rvalue(), callee(NULL) + : callee(NULL) { /* empty */ } @@ -525,7 +528,6 @@ private: class ir_jump : public ir_instruction { protected: ir_jump() - : ir_instruction() { /* empty */ } |