diff options
Move value in ASTInterpreter to be shared pointer
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | JSImpl/src/ASTInterpreter.h | 2 |
diff --git a/JSImpl/src/ASTInterpreter.h b/JSImpl/src/ASTInterpreter.h index db89013..16aebfa 100644 --- a/JSImpl/src/ASTInterpreter.h +++ b/JSImpl/src/ASTInterpreter.h @@ -11,7 +11,7 @@ public: // TODO: Changing this to a shared_ptr<Value> (or GC-enabled value*) will // allow for much simpler implementation of all varible assignments. - typedef double value_type; + typedef IPLSharedPtr<double> value_type; typedef IPLVector<value_type> ValueStack; ValueStack Run(Expression* program); |
