diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp index e28088e803fc..dc5f56f0b2ed 100644 --- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp +++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp @@ -92,12 +92,15 @@ private: /// - Kernel: A GPU kernel call (TODO) /// - Data-Transfer: A GPU <-> CPU data-transfer (TODO) /// - virtual void createUser(__isl_take isl_ast_node *User) { - isl_ast_node_free(User); - return; - } + /// @param UserStmt The ast node to generate code for. + virtual void createUser(__isl_take isl_ast_node *UserStmt); }; +void GPUNodeBuilder::createUser(__isl_take isl_ast_node *UserStmt) { + isl_ast_node_free(UserStmt); + return; +} + namespace { class PPCGCodeGeneration : public ScopPass { public: