diff options
Diffstat (limited to 'include/cps/CodeGen.h')
| -rw-r--r-- | include/cps/CodeGen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cps/CodeGen.h b/include/cps/CodeGen.h index 539a6e6..9985f9b 100644 --- a/include/cps/CodeGen.h +++ b/include/cps/CodeGen.h @@ -133,6 +133,8 @@ class CodeGen { std::map<const ConstantStmtAST *, SymbolInfo> StringConstants; const TypeInfo *requireStringType(); llvm::Value *emitStringFromCString(llvm::Value *Text); + llvm::Value *emitStringFromChar(llvm::Value *Ch); + llvm::Value *emitCharFromString(ExprAST *Expr, int Line); llvm::Value *emitStringCString(llvm::Value *Value); llvm::Value *emitCStringExpr(ExprAST *Expr); llvm::Value *emitFileNameOperand(ExprAST *E, const char *Keyword); |
