From 4d359b9c16b01847b26d6827e137f680c65969f2 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 7 Feb 2023 20:06:31 +0200 Subject: [IPL/T] Overhauled how functions are handled, added list type --- .../Transpiler/src/Value/Integer.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Year 2/Implementation of Programming Languages/Transpiler/src/Value/Integer.cpp') diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Integer.cpp b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Integer.cpp index 01bbe54..6fb7b73 100644 --- a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Integer.cpp +++ b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Integer.cpp @@ -1,14 +1,10 @@ #include "Integer.h" #include "../LLVMVisitor/LLVMVisitor.h" -std::string Integer::Visit(LLVMVisitor& visitor) const { +LLVMRet Integer::Visit(LLVMVisitor& visitor) const { return visitor.Visit(*this); } -Value::T_Primitive Integer::RetType() const { - return Value::T_integer; -} - const int& Integer::get_value() const { return this->value; } -- cgit v1.3.1-23-gd82d