JS codegen: produce better code for constant sets
This commit is contained in:
parent
3d34a9f6d3
commit
56a5c249c9
2 changed files with 9 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue