Objects Compiled

This commit is contained in:
IlushaShurupov 2023-07-30 18:30:36 +03:00 committed by Ilya Shurupov
parent 31e420b311
commit edf0548046
52 changed files with 384 additions and 370 deletions

View file

@ -16,7 +16,7 @@ namespace obj {
typedef struct { obj::Object* obj; tp::String id; } GlobalDef;
void exec(obj::MethodObject* method, obj::ClassObject* self = NULL, obj::DictObject* globals = NULL, tp::init_list<GlobalDef> globals2 = {});
void exec(obj::MethodObject* method, obj::ClassObject* self = NULL, obj::DictObject* globals = NULL, tp::InitialierList<GlobalDef> globals2 = {});
void stepBytecode();
void stepBytecodeIn();
@ -24,6 +24,6 @@ namespace obj {
bool finished();
void execAll(obj::MethodObject* method, obj::ClassObject* self = NULL, obj::DictObject* globals = NULL, tp::init_list<GlobalDef> globals2 = {});
void execAll(obj::MethodObject* method, obj::ClassObject* self = NULL, obj::DictObject* globals = NULL, tp::InitialierList<GlobalDef> globals2 = {});
};
};

View file

@ -121,7 +121,7 @@ namespace obj {
tp::halni len = 0;
OperandsInfo();
OperandsInfo(tp::init_list<Operand> list);
OperandsInfo(tp::InitialierList<Operand> list);
};
struct ParamsInfo {
@ -135,7 +135,7 @@ namespace obj {
tp::halni len = 0;
ParamsInfo();
ParamsInfo(tp::init_list<Param> list);
ParamsInfo(tp::InitialierList<Param> list);
};
struct OpInfo {