diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-05-01 09:30:56 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-05-01 09:30:56 +0200 |
commit | 56a5c249c95950e7c064f4d2b660de6fc1fb5674 (patch) | |
tree | 61d9339a65435011716383db18a920419fbd5af7 /lib/system/jssys.nim | |
parent | 3d34a9f6d34809a481024a687ed5f4d712a9b961 (diff) | |
download | Nim-56a5c249c95950e7c064f4d2b660de6fc1fb5674.tar.gz |
JS codegen: produce better code for constant sets
Diffstat (limited to 'lib/system/jssys.nim')
-rw-r--r-- | lib/system/jssys.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/jssys.nim b/lib/system/jssys.nim index 9ef4a02f2..8a81a550a 100644 --- a/lib/system/jssys.nim +++ b/lib/system/jssys.nim @@ -172,7 +172,7 @@ proc raiseIndexError() {.compilerproc, noreturn.} = proc raiseFieldError(f: string) {.compilerproc, noreturn.} = raise newException(FieldError, f & " is not accessible") -proc SetConstr() {.varargs, asmNoStackFrame, compilerproc.} = +proc setConstr() {.varargs, asmNoStackFrame, compilerproc.} = when defined(nimphp): asm """ $args = func_get_args(); |