зеркало из https://github.com/mozilla/gecko-dev.git
bug 558451 - followup to fix GCC warnings and link error. "CLOSED TREE"
This commit is contained in:
Родитель
98188e768b
Коммит
5397df86be
|
@ -2375,7 +2375,7 @@ JSBool
|
|||
CallOrConstructBoundFunction(JSContext *cx, uintN argc, Value *vp);
|
||||
}
|
||||
|
||||
inline bool
|
||||
bool
|
||||
JSFunction::isBound() const
|
||||
{
|
||||
return isFastNative() && u.n.native == FastNativeToNative(CallOrConstructBoundFunction);
|
||||
|
|
|
@ -4212,7 +4212,7 @@ BEGIN_CASE(JSOP_SETMETHOD)
|
|||
*/
|
||||
if (!entry->adding()) {
|
||||
if (entry->vcapTag() == 0 ||
|
||||
(obj2 = obj->getProto()) && obj2->shape() == entry->vshape())
|
||||
((obj2 = obj->getProto()) && obj2->shape() == entry->vshape()))
|
||||
{
|
||||
#ifdef DEBUG
|
||||
if (entry->directHit()) {
|
||||
|
|
|
@ -3584,7 +3584,7 @@ bool
|
|||
JSObject::ensureInstanceReservedSlots(JSContext *cx, size_t nreserved)
|
||||
{
|
||||
JS_ASSERT_IF(isNative(),
|
||||
isBlock() || isCall() || isFunction() && getFunctionPrivate()->isBound());
|
||||
isBlock() || isCall() || (isFunction() && getFunctionPrivate()->isBound()));
|
||||
JS_ASSERT_IF(isBlock(), nativeEmpty());
|
||||
|
||||
uintN nslots = JSSLOT_FREE(clasp) + nreserved;
|
||||
|
|
Загрузка…
Ссылка в новой задаче