Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / Function / Funcall.h
diff options
context:
space:
mode:
diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.h b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.h
index 5afc51d..30dda60 100644
--- a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.h
+++ b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.h
@@ -1,20 +1,19 @@
#ifndef VALUE_FUNCALL
#define VALUE_FUNCALL
-#include <deque>
+#include <vector>
#include "../Value.h"
class Funcall : public Value {
std::string funName;
- std::deque<Value*> args;
+ std::vector<Value*> args;
public:
const std::string& get_funname() const;
- const std::deque<Value*>& get_args() const;
+ const std::vector<Value*>& get_args() const;
- std::string Visit(LLVMVisitor& visitor) const override;
- T_Primitive RetType() const override;
+ LLVMRet Visit(LLVMVisitor& visitor) const override;
- Funcall(std::string funName, std::deque<Value*> args);
+ Funcall(std::string funName, std::vector<Value*> args);
~Funcall() override = default;
};