aboutsummaryrefslogtreecommitdiff
path: root/include/cps/CodeGen.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cps/CodeGen.h')
-rw-r--r--include/cps/CodeGen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cps/CodeGen.h b/include/cps/CodeGen.h
index 2d77284..7085560 100644
--- a/include/cps/CodeGen.h
+++ b/include/cps/CodeGen.h
@@ -90,6 +90,7 @@ class CodeGen {
bool emitConstruct(const std::string &TypeName, llvm::Value *Addr,
const std::vector<std::unique_ptr<ExprAST>> &Args, int Line);
bool emitDefaultConstruct(const std::string &TypeName, llvm::Value *Addr, int Line);
+ bool emitFieldDefaults(const TypeInfo *Type, llvm::Value *Addr, int Line);
struct StackObject {
llvm::Value *Addr;
std::string TypeName;