Bug 730511: remove obsolete typedefs intN, uintN, r=luke

This commit is contained in:
David Mandelin
2012-02-28 15:11:11 -08:00
parent 7f34ac87cf
commit f0690b22d1
210 changed files with 2644 additions and 2646 deletions

View File

@@ -159,9 +159,9 @@ frontend::CompileScript(JSContext *cx, JSObject *scopeChain, StackFrame *callerF
JSPrincipals *principals, JSPrincipals *originPrincipals,
uint32_t tcflags,
const jschar *chars, size_t length,
const char *filename, uintN lineno, JSVersion version,
const char *filename, unsigned lineno, JSVersion version,
JSString *source /* = NULL */,
uintN staticLevel /* = 0 */)
unsigned staticLevel /* = 0 */)
{
TokenKind tt;
ParseNode *pn;
@@ -346,7 +346,7 @@ bool
frontend::CompileFunctionBody(JSContext *cx, JSFunction *fun,
JSPrincipals *principals, JSPrincipals *originPrincipals,
Bindings *bindings, const jschar *chars, size_t length,
const char *filename, uintN lineno, JSVersion version)
const char *filename, unsigned lineno, JSVersion version)
{
Parser parser(cx, principals, originPrincipals);
if (!parser.init(chars, length, filename, lineno, version))
@@ -371,7 +371,7 @@ frontend::CompileFunctionBody(JSContext *cx, JSFunction *fun,
fn->pn_body = NULL;
fn->pn_cookie.makeFree();
uintN nargs = fun->nargs;
unsigned nargs = fun->nargs;
if (nargs) {
/*
* NB: do not use AutoLocalNameArray because it will release space
@@ -381,7 +381,7 @@ frontend::CompileFunctionBody(JSContext *cx, JSFunction *fun,
if (!funbce.bindings.getLocalNameArray(cx, &names)) {
fn = NULL;
} else {
for (uintN i = 0; i < nargs; i++) {
for (unsigned i = 0; i < nargs; i++) {
if (!DefineArg(fn, names[i], i, &funbce)) {
fn = NULL;
break;