diff options
[IPL/T] Values now have a return value which can be parsed easily
1 files changed, 3 insertions, 2 deletions
| -rw-r--r-- | Year 2/Implementation of Programming Languages/Transpiler/src/LLVMVisitor/LLVMVisitor.h | 5 |
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: |
