# HG changeset patch # User Max Brister # Date 1345925078 21600 # Node ID 8442131a391aa5b0f60e98404480e72c55373ac5 # Parent b0c08e995950264214367ffda28641c29b3f2ee6 jit-ir.h (jit_use::stash_value): Explicitly specify parent template types diff -r b0c08e995950 -r 8442131a391a libinterp/interp-core/jit-ir.h --- a/libinterp/interp-core/jit-ir.h Sat Aug 25 13:36:48 2012 -0600 +++ b/libinterp/interp-core/jit-ir.h Sat Aug 25 14:04:38 2012 -0600 @@ -280,6 +280,10 @@ jit_use : public jit_internal_node { public: + // some compilers don't allow us to use jit_internal_node without template + // paremeters + typedef jit_internal_node 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; }