Enable JIT in acadnme
@@ -31,6 +31,10 @@ class Acadnme extends Sprite implements IScriptHandler
{
super();
+ #if cpp
+ enableJit(true);
+ #end
+
instance = this;
var startServer = #if emscripten false #else true #end;
@@ -109,6 +113,9 @@ class Acadnme extends Sprite implements IScriptHandler
}
+ @:native("hx::EnableJit")
+ @:extern static function enableJit(enable:Bool) : Void { }
+
public static function getNmeAppsDir() : String
{
