Work on performance improvements
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -18,7 +18,6 @@ class BoundScope {
|
||||
vector<unordered_map<int, BoundVariable*>*> _localScope;
|
||||
int _currentScope;
|
||||
int _lastCreatedScope;
|
||||
int _deepestScope;
|
||||
public:
|
||||
explicit BoundScope(unordered_map<int, BoundVariable*> *tableScope);
|
||||
~BoundScope();
|
||||
@@ -31,8 +30,8 @@ public:
|
||||
VariableAssignment CreateExplicitLocal(int identifier, std::shared_ptr<ScriptType> type);
|
||||
VariableAssignment AssignVariable(int identifier, const std::shared_ptr<ScriptType>& type);
|
||||
|
||||
int GetDeepestScope(){
|
||||
return _deepestScope;
|
||||
size_t GetLocalVariableCount(){
|
||||
return _localScope.size();
|
||||
}
|
||||
|
||||
int GetCurrentScope(){
|
||||
|
||||
Reference in New Issue
Block a user