Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / Integer.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 5 deletions
-rw-r--r--Year 2/Implementation of Programming Languages/Transpiler/src/Value/Integer.cpp6
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;
}