Non-functional: Factor out entry-point logic from handleFunctionDefinition().

This commit is contained in:
John Kessenich
2017-01-18 16:45:02 -07:00
parent 33dadd1287
commit 94dfb7a523
3 changed files with 43 additions and 29 deletions

View File

@@ -73,6 +73,7 @@ public:
void assignLocations(TVariable& variable);
TFunction& handleFunctionDeclarator(const TSourceLoc&, TFunction& function, bool prototype);
TIntermAggregate* handleFunctionDefinition(const TSourceLoc&, TFunction&, const TAttributeMap&);
void transformEntryPoint(const TSourceLoc&, TFunction&, const TAttributeMap&);
void handleFunctionBody(const TSourceLoc&, TFunction&, TIntermNode* functionBody, TIntermNode*& node);
void remapEntryPointIO(TFunction& function);
void remapNonEntryPointIO(TFunction& function);