From Lua 5.2: Add string.rep(s, n, sep).

This commit is contained in:
Mike Pall
2012-10-07 17:11:39 +02:00
parent 0561a56938
commit 2f5ed5d0df
6 changed files with 40 additions and 13 deletions

View File

@@ -1630,7 +1630,7 @@ static void build_subroutines(BuildCtx *ctx)
| cmplwi NARGS8:RC, 16
| evldd CARG1, 0(BASE)
| evldd CARG2, 8(BASE)
| blt ->fff_fallback
| bne ->fff_fallback // Exactly 2 arguments.
| checknum CARG2
| checkfail ->fff_fallback
| checkstr STR:CARG1