aboutsummaryrefslogtreecommitdiff
path: root/include/cps/FunctionGen.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cps/FunctionGen.h')
-rw-r--r--include/cps/FunctionGen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cps/FunctionGen.h b/include/cps/FunctionGen.h
index 95579c4..1b4a07a 100644
--- a/include/cps/FunctionGen.h
+++ b/include/cps/FunctionGen.h
@@ -86,6 +86,7 @@ private:
void createArgumentAllocas(llvm::Function *F, const std::vector<ParamDecl> &Params, bool IsMethod);
llvm::Type *getLLVMType(const std::string &TypeName);
+ bool validatePrototype(PrototypeAST *Proto);
llvm::Value *emitCall(const std::string &Callee, const std::vector<llvm::Value*> &Args);
public: