Bug 607692 - Inline parseInt(<int|double>, <0|10>) in JM. r=bhackett

This commit is contained in:
Tom Schuster
2012-01-04 21:29:54 +01:00
parent 5750aaf2e2
commit c254a97bd3
5 changed files with 149 additions and 3 deletions

View File

@@ -365,8 +365,8 @@ ParseIntStringHelper(JSContext *cx, const jschar *ws, const jschar *end, int may
}
/* See ECMA 15.1.2.2. */
static JSBool
num_parseInt(JSContext *cx, uintN argc, Value *vp)
JSBool
js::num_parseInt(JSContext *cx, uintN argc, Value *vp)
{
CallArgs args = CallArgsFromVp(argc, vp);