Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / LLVMVisitor / LLVMVisitor.h
diff options
context:
space:
mode:
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: