diff options
Diffstat (limited to 'src/c.cpp')
-rw-r--r-- | src/c.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -45,8 +45,8 @@ struct CEngine : public Engine { CVal compileCall(CEnv& cenv, CFunc f, const AType* funcT, const vector<CVal>& args); CVal compileCons(CEnv& cenv, const AType* type, CVal rtti, const vector<CVal>& fields); CVal compileDot(CEnv& cenv, CVal tup, int32_t index); - CVal compileGlobal(CEnv& cenv, const AType* type, const string& sym, CVal val); - CVal compileGlobalGet(CEnv& cenv, const string& sym, CVal val); + CVal compileGlobalSet(CEnv& cenv, const string& s, CVal v, const AType* t); + CVal compileGlobalGet(CEnv& cenv, const string& s, CVal v); IfState compileIfStart(CEnv& cenv); void compileIfBranch(CEnv& cenv, IfState state, CVal condV, const AST* then); CVal compileIfEnd(CEnv& cenv, IfState state, CVal elseV, const AType* type); @@ -312,7 +312,7 @@ CEngine::compilePrimitive(CEnv& cenv, const ATuple* prim) } CVal -CEngine::compileGlobal(CEnv& cenv, const AType* type, const string& sym, CVal val) +CEngine::compileGlobalSet(CEnv& cenv, const string& sym, CVal val, const AType* type) { return NULL; } |