bug 505460 - followup to fix misspellings

This commit is contained in:
Igor Bukanov 2009-07-26 08:54:54 +02:00
parent 4ea30adb7c
commit 40ed24ed94
3 changed files with 6 additions and 6 deletions

View File

@ -4355,7 +4355,7 @@ JS_CloneFunctionObject(JSContext *cx, JSObject *funobj, JSObject *parent)
if (FUN_FLAT_CLOSURE(fun)) {
JS_ASSERT(funobj->dslots);
if (!js_EnsureReservedSlots(cx, clone,
fun->countInterpretedReserveSlots())) {
fun->countInterpretedReservedSlots())) {
return NULL;
}

View File

@ -1838,7 +1838,7 @@ fun_finalize(JSContext *cx, JSObject *obj)
}
uint32
JSFunction::countInterpretedReserveSlots() const
JSFunction::countInterpretedReservedSlots() const
{
JS_ASSERT(FUN_INTERPRETED(this));
@ -1860,7 +1860,7 @@ fun_reserveSlots(JSContext *cx, JSObject *obj)
*/
JSFunction *fun = (JSFunction *) JS_GetPrivate(cx, obj);
return (fun && FUN_INTERPRETED(fun))
? fun->countInterpretedReserveSlots()
? fun->countInterpretedReservedSlots()
: 0;
}
@ -2505,7 +2505,7 @@ js_AllocFlatClosure(JSContext *cx, JSFunction *fun, JSObject *scopeChain)
: 0) == fun->u.i.nupvars);
/*
* Assert that fun->countInterpretedReserveSlots returns 0 when
* Assert that fun->countInterpretedReservedSlots returns 0 when
* fun->u.i.nupvars is zero.
*/
JS_ASSERT(fun->u.i.script->regexpsOffset == 0);
@ -2514,7 +2514,7 @@ js_AllocFlatClosure(JSContext *cx, JSFunction *fun, JSObject *scopeChain)
if (!closure || fun->u.i.nupvars == 0)
return closure;
if (!js_EnsureReservedSlots(cx, closure,
fun->countInterpretedReserveSlots())) {
fun->countInterpretedReservedSlots())) {
return NULL;
}

View File

@ -180,7 +180,7 @@ struct JSFunction {
return countLocalNames() != 0;
}
uint32 countInterpretedReserveSlots() const;
uint32 countInterpretedReservedSlots() const;
};
/*