Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / src / ASTInterpreter.h
diff options
context:
space:
mode:
Commit70a7bd82774843a5750fb96c0d7e51553505811c (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-11-01 20:39:33 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-11-09 22:08:19 +0200
Files89ac6dacc53ba58ad10fe791c487180dc68a1c85 /JSImpl/src/ASTInterpreter.h
IPL-70a7bd82774843a5750fb96c0d7e51553505811c.tar
IPL-70a7bd82774843a5750fb96c0d7e51553505811c.tar.gz
IPL-70a7bd82774843a5750fb96c0d7e51553505811c.zip
Parent1d2838877d4b905c68578e5bd4c01ab2857099ee (diff)
Move value in ASTInterpreter to be shared pointer
1 files changed, 1 insertions, 1 deletions
-rw-r--r--JSImpl/src/ASTInterpreter.h2
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);