summaryrefslogtreecommitdiff
path: root/src/compiler.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-10-05 15:58:31 -0400
committerAdrian Thurston <thurston@complang.org>2015-10-05 15:58:31 -0400
commitcbca35717204e8a02e71c3a3e67eaf9f5a0f4019 (patch)
tree0140ea6f6fd2c6efc341e370afafb9d44e3a61d1 /src/compiler.h
parent2c8090f0b665281827c7867f957a224f1d1b6cae (diff)
downloadcolm-cbca35717204e8a02e71c3a3e67eaf9f5a0f4019.tar.gz
put reducer code in its own file, use local parse tree pool
Diffstat (limited to 'src/compiler.h')
-rw-r--r--src/compiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler.h b/src/compiler.h
index a2fb554f..611fac6c 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -820,7 +820,7 @@ struct Compiler
void compileByteCode();
void resolveUses();
- void generateOutput( long activeRealm );
+ void generateOutput( long activeRealm, bool includeCommit );
void compile();
void openNameSpace( ostream &out, Namespace *nspace );
@@ -1011,6 +1011,7 @@ struct Compiler
void writeHostCall();
void writeCommit();
+ void writeCommitStub();
};
void afterOpMinimize( FsmGraph *fsm, bool lastInSeq = true );