Mercurial > hg > octave-lyh
diff libinterp/interp-core/jit-ir.h @ 15231:8442131a391a
jit-ir.h (jit_use::stash_value): Explicitly specify parent template types
author | Max Brister <max@2bass.com> |
---|---|
date | Sat, 25 Aug 2012 14:04:38 -0600 |
parents | 2fc554ffbc28 |
children | 2c0259dc1a82 |
line wrap: on
line diff
--- a/libinterp/interp-core/jit-ir.h +++ b/libinterp/interp-core/jit-ir.h @@ -280,6 +280,10 @@ jit_use : public jit_internal_node<jit_value, jit_use> { public: + // some compilers don't allow us to use jit_internal_node without template + // paremeters + typedef jit_internal_node<jit_value, jit_use> PARENT_T; + jit_use (void) : muser (0), mindex (0) {} // we should really have a move operator, but not until c++11 :( @@ -305,7 +309,7 @@ void stash_value (jit_value *avalue, jit_instruction *auser = 0, size_t aindex = -1) { - jit_internal_node::stash_value (avalue); + PARENT_T::stash_value (avalue); mindex = aindex; muser = auser; }