From 56a5c249c95950e7c064f4d2b660de6fc1fb5674 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 1 May 2017 09:30:56 +0200 Subject: JS codegen: produce better code for constant sets --- lib/system/jssys.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/system') 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(); -- cgit 1.4.1-2-gfad0