From d8eb50a7960edd35c74885d0ba7897f35c1b1eed Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 19 Jan 2023 17:43:29 +0200 Subject: [IPL/T] Values now have a return value which can be parsed easily --- .../Transpiler/src/LLVMVisitor/LLVMVisitor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Year 2/Implementation of Programming Languages/Transpiler/src/LLVMVisitor/LLVMVisitor.h') diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/LLVMVisitor/LLVMVisitor.h b/Year 2/Implementation of Programming Languages/Transpiler/src/LLVMVisitor/LLVMVisitor.h index 6229b7a..55cc86e 100644 --- a/Year 2/Implementation of Programming Languages/Transpiler/src/LLVMVisitor/LLVMVisitor.h +++ b/Year 2/Implementation of Programming Languages/Transpiler/src/LLVMVisitor/LLVMVisitor.h @@ -9,9 +9,10 @@ class LLVMVisitor { std::ofstream outFile; - Register reg; + Register greg; + Register lreg; - typedef void (&BiFout)(std::string reg, std::string first, std::string second, std::ofstream& of); + typedef void (&BiFout)(std::string reg, Value::T_Primitive ty, std::string first, std::string second, std::ofstream& of); std::string rightAssoc(BiFout f, const BuiltInFunction& bfun, unsigned i = 0); public: -- cgit v1.3.1-26-gb76a