allow 'cast' for the JS target

This commit is contained in:
Araq 2013-01-09 00:49:19 +01:00
commit 86b19c44eb
2 changed files with 2 additions and 1 deletions

View file

@ -142,7 +142,7 @@ when has_LLVM_Backend:
compileProject()
proc CommandCompileToEcmaScript =
incl(gGlobalOptions, optSafeCode)
#incl(gGlobalOptions, optSafeCode)
setTarget(osEcmaScript, cpuEcmaScript)
#initDefines()
DefineSymbol("nimrod") # 'nimrod' is always defined