aboutsummaryrefslogtreecommitdiff
path: root/system/include/emscripten.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-30 14:48:41 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-30 15:35:51 -0800
commit49660048bffde0caa891da7ebfe1466d15c6e930 (patch)
tree222dd165aced4141ea914a04b03372d904612d59 /system/include/emscripten.h
parentc2e49c8b6bbd881f28ad5379e60a8938cbac23cc (diff)
refactor compiler to allow future batching of types and globals. move postsets from run() to the toplevel to boost performance and simplify compilation. fix various bugs that were noticed during this
Diffstat (limited to 'system/include/emscripten.h')
-rw-r--r--system/include/emscripten.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/include/emscripten.h b/system/include/emscripten.h
index 0ce31e9f..482f7ef3 100644
--- a/system/include/emscripten.h
+++ b/system/include/emscripten.h
@@ -20,8 +20,10 @@ extern void emscripten_run_script(const char *script);
/*
* This macro-looking function will cause Emscripten to
* generate a comment in the generated code.
+ * XXX This is deprecated for now, because it requires us to
+ * hold all global vars in memory. We need a better solution.
*/
-extern void EMSCRIPTEN_COMMENT(const char *text);
+//extern void EMSCRIPTEN_COMMENT(const char *text);
/*
* Profiling tools.