(proc: ScriptFile)
| 361 | const intArgCount: number = script.intArgCount; |
| 362 | for (let index: number = 0; index < intArgCount; index++) { |
| 363 | intLocals[intArgCount - index - 1] = this.popInt(); |
| 364 | } |
| 365 | |
| 366 | const stringLocals: string[] = new Array(script.stringLocalCount); |
| 367 | const stringArgCount: number = script.stringArgCount; |
| 368 | for (let index: number = 0; index < stringArgCount; index++) { |
| 369 | stringLocals[stringArgCount - index - 1] = this.popString(); |
| 370 | } |
| 371 | |
| 372 | this.pc = -1; |
| 373 | this.script = script; |
| 374 | this.intLocals = intLocals; |
| 375 | this.stringLocals = stringLocals; |
| 376 | } |
| 377 | } |
no test coverage detected