File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -1321,20 +1321,16 @@ class ClosureParametersScope final : public ASTScopeImpl {
13211321class TopLevelCodeScope final : public ASTScopeImpl {
13221322public:
13231323 TopLevelCodeDecl *const decl;
1324- BraceStmt *bodyWhenLastExpanded;
13251324
13261325 TopLevelCodeScope (TopLevelCodeDecl *e) : decl(e) {}
13271326 virtual ~TopLevelCodeScope () {}
13281327
13291328protected:
13301329 ASTScopeImpl *expandSpecifically (ScopeCreator &scopeCreator) override ;
1331- void beCurrent () override ;
1332- bool isCurrentIfWasExpanded () const override ;
13331330
13341331private:
13351332 AnnotatedInsertionPoint
13361333 expandAScopeThatCreatesANewInsertionPoint (ScopeCreator &);
1337- std::vector<ASTScopeImpl *> rescueBodyScopesToReuse ();
13381334
13391335public:
13401336 std::string getClassName () const override ;
Original file line number Diff line number Diff line change @@ -1703,11 +1703,6 @@ bool AbstractFunctionBodyScope::isCurrentIfWasExpanded() const {
17031703 return bodyWhenLastExpanded == decl->getBody (false );
17041704}
17051705
1706- void TopLevelCodeScope::beCurrent () { bodyWhenLastExpanded = decl->getBody (); }
1707- bool TopLevelCodeScope::isCurrentIfWasExpanded () const {
1708- return bodyWhenLastExpanded == decl->getBody ();
1709- }
1710-
17111706// Try to avoid the work of counting
17121707static const bool assumeVarsDoNotGetAdded = true ;
17131708
You can’t perform that action at this time.
0 commit comments