summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-js_src_vm_ObjectImpl-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-js_src_vm_ObjectImpl-inl.h')
-rw-r--r--www/firefox/patches/patch-js_src_vm_ObjectImpl-inl.h26
1 files changed, 7 insertions, 19 deletions
diff --git a/www/firefox/patches/patch-js_src_vm_ObjectImpl-inl.h b/www/firefox/patches/patch-js_src_vm_ObjectImpl-inl.h
index e56b10c86a9..a7b7d5f3bf9 100644
--- a/www/firefox/patches/patch-js_src_vm_ObjectImpl-inl.h
+++ b/www/firefox/patches/patch-js_src_vm_ObjectImpl-inl.h
@@ -1,29 +1,17 @@
-$NetBSD: patch-js_src_vm_ObjectImpl-inl.h,v 1.3 2013/08/07 12:17:54 ryoon Exp $
+$NetBSD: patch-js_src_vm_ObjectImpl-inl.h,v 1.4 2013/09/19 12:37:50 ryoon Exp $
---- js/src/vm/ObjectImpl-inl.h.orig 2013-07-30 00:58:25.000000000 +0000
+--- js/src/vm/ObjectImpl-inl.h.orig 2013-09-10 03:43:39.000000000 +0000
+++ js/src/vm/ObjectImpl-inl.h
-@@ -217,9 +217,9 @@ js::ObjectImpl::initializeSlotRange(uint
- JSRuntime *rt = runtime();
- uint32_t offset = start;
- for (HeapSlot *sp = fixedStart; sp < fixedEnd; sp++)
-- sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, UndefinedValue());
-+ sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, js::UndefinedValue());
- for (HeapSlot *sp = slotsStart; sp < slotsEnd; sp++)
-- sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, UndefinedValue());
-+ sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, js::UndefinedValue());
- }
-
- inline bool
-@@ -389,7 +389,7 @@ ZoneOfValue(const JS::Value &value)
+@@ -364,7 +364,7 @@ js::ObjectImpl::zone() const
js::ObjectImpl::readBarrier(ObjectImpl *obj)
{
#ifdef JSGC_INCREMENTAL
- Zone *zone = obj->zone();
+ JS::Zone *zone = obj->zone();
if (zone->needsBarrier()) {
- MOZ_ASSERT(!zone->rt->isHeapBusy());
+ MOZ_ASSERT(!zone->rt->isHeapMajorCollecting());
JSObject *tmp = obj->asObjectPtr();
-@@ -403,7 +403,7 @@ inline void
+@@ -378,7 +378,7 @@ inline void
js::ObjectImpl::privateWriteBarrierPre(void **old)
{
#ifdef JSGC_INCREMENTAL
@@ -32,12 +20,12 @@ $NetBSD: patch-js_src_vm_ObjectImpl-inl.h,v 1.3 2013/08/07 12:17:54 ryoon Exp $
if (zone->needsBarrier()) {
if (*old && getClass()->trace)
getClass()->trace(zone->barrierTracer(), this->asObjectPtr());
-@@ -430,7 +430,7 @@ js::ObjectImpl::writeBarrierPre(ObjectIm
+@@ -405,7 +405,7 @@ js::ObjectImpl::writeBarrierPre(ObjectIm
if (IsNullTaggedPointer(obj) || !obj->runtime()->needsBarrier())
return;
- Zone *zone = obj->zone();
+ JS::Zone *zone = obj->zone();
if (zone->needsBarrier()) {
- MOZ_ASSERT(!zone->rt->isHeapBusy());
+ MOZ_ASSERT(!zone->rt->isHeapMajorCollecting());
JSObject *tmp = obj->asObjectPtr();