From 70a7bd82774843a5750fb96c0d7e51553505811c Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sun, 1 Nov 2020 20:39:33 +0200 Subject: Move value in ASTInterpreter to be shared pointer --- JSImpl/src/ASTInterpreter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'JSImpl/src/ASTInterpreter.h') 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 (or GC-enabled value*) will // allow for much simpler implementation of all varible assignments. - typedef double value_type; + typedef IPLSharedPtr value_type; typedef IPLVector ValueStack; ValueStack Run(Expression* program); -- cgit v1.3.1-26-gb76a