Searched refs:lastStatements (Results 1 – 2 of 2) sorted by relevance
7762 …ntext::addSwitch(const TSourceLoc& loc, TIntermTyped* expression, TIntermAggregate* lastStatements) in addSwitch() argument7767 wrapupSwitchSubsequence(lastStatements, nullptr); in addSwitch()7779 if (lastStatements == nullptr) { in addSwitch()7790 lastStatements = intermediate.makeAggregate(intermediate.addBranch(EOpBreak, loc)); in addSwitch()7791 lastStatements->setOperator(EOpSequence); in addSwitch()7792 switchSequence->push_back(lastStatements); in addSwitch()
9090 … TIntermAggregate* lastStatements, const TAttributes& attributes) in addSwitch() argument9092 wrapupSwitchSubsequence(lastStatements, nullptr); in addSwitch()9104 if (lastStatements == nullptr) { in addSwitch()9106 lastStatements = intermediate.makeAggregate(intermediate.addBranch(EOpBreak, loc)); in addSwitch()9107 lastStatements->setOperator(EOpSequence); in addSwitch()9108 switchSequence->push_back(lastStatements); in addSwitch()