aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.cpp')
-rw-r--r--src/c.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c.cpp b/src/c.cpp
index 4e71eae..afe1132 100644
--- a/src/c.cpp
+++ b/src/c.cpp
@@ -164,6 +164,10 @@ struct CEngine : public Engine {
CVal compileGlobal(CEnv& cenv, const AType* type, const string& sym, CVal val);
CVal compileGlobalGet(CEnv& cenv, const string& sym, CVal val);
+ IfState compileIfStart(CEnv& cenv) { return NULL; }
+ void compileIfBranch(CEnv& cenv, IfState state, CVal condV, const AST* then) {}
+ CVal compileIfEnd(CEnv& cenv, IfState state, CVal elseV, const AType* type) { return NULL; }
+
void writeModule(CEnv& cenv, std::ostream& os) {
os << out;
}