diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-21 06:00:55 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-21 06:00:55 +0000 |
| commit | bfe020bfa91640e7a6f1a516dc752fa754249088 (patch) | |
| tree | fd82055133f45fdeaacddd4e62b210f4b63e0c03 /include/cps/CodeGen.h | |
| parent | c56877035d6600b463a9cbf0e339f7548c0b46fd (diff) | |
feat(codegen): support explicit template arguments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'include/cps/CodeGen.h')
| -rw-r--r-- | include/cps/CodeGen.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/cps/CodeGen.h b/include/cps/CodeGen.h index 124ead1..23487f6 100644 --- a/include/cps/CodeGen.h +++ b/include/cps/CodeGen.h @@ -185,9 +185,11 @@ class CodeGen { llvm::Value *loadFromLValue(const LValueInfo &LV); llvm::Value *emitAllocationSize(ExprAST *Expr); llvm::Value *emitCall(const std::string &Callee, - const std::vector<std::unique_ptr<ExprAST>> &ArgExprs, int Line); + const std::vector<std::unique_ptr<ExprAST>> &ArgExprs, int Line, + const std::vector<std::string> *Explicit = nullptr); const FuncSig *resolveCall(const std::string &Name, - const std::vector<std::unique_ptr<ExprAST>> &Args); + const std::vector<std::unique_ptr<ExprAST>> &Args, + const std::vector<std::string> *Explicit = nullptr); struct OperatorResolution { const FuncSig *Signature = nullptr; bool Ambiguous = false; |
