summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-clang33
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/files/patch-clang33')
-rw-r--r--www/firefox/files/patch-clang3395
1 files changed, 0 insertions, 95 deletions
diff --git a/www/firefox/files/patch-clang33 b/www/firefox/files/patch-clang33
deleted file mode 100644
index 596312db5b4b..000000000000
--- a/www/firefox/files/patch-clang33
+++ /dev/null
@@ -1,95 +0,0 @@
---- js/src/Makefile.in~
-+++ js/src/Makefile.in
-@@ -791,6 +791,13 @@ EXTRA_LIBS += -lposix4 -ldl -lnsl -lsock
- endif
- endif
-
-+# clang 3.3 + -O2 makes jaeger crash in FixupArity
-+ifdef CLANG_CXX
-+ifndef MOZ_DEBUG
-+Compiler.$(OBJ_SUFFIX): CXXFLAGS += -fno-inline-functions
-+endif
-+endif
-+
- # An AIX Optimization bug causes PR_dtoa() & JS_dtoa to produce wrong result.
- # This suppresses optimization for this single compilation unit.
- ifeq ($(OS_ARCH),AIX)
---- js/src/jscompartment.h~
-+++ js/src/jscompartment.h
-@@ -596,12 +596,12 @@ class js::AutoDebugModeGC
- // The DEBUG_MODE_GC reason forces the collector to always throw
- // everything away, as required for debug mode transitions.
- if (needGC)
-- GC(rt, GC_NORMAL, gcreason::DEBUG_MODE_GC);
-+ GC(rt, GC_NORMAL, js::gcreason::DEBUG_MODE_GC);
- }
-
-- void scheduleGC(Zone *zone) {
-+ void scheduleGC(JS::Zone *zone) {
- JS_ASSERT(!rt->isHeapBusy());
-- PrepareZoneForGC(zone);
-+ js::PrepareZoneForGC(zone);
- needGC = true;
- }
- };
---- js/src/jspropertycacheinlines.h~
-+++ js/src/jspropertycacheinlines.h
-@@ -32,7 +32,7 @@ JS_ALWAYS_INLINE void
- js::PropertyCache::test(JSContext *cx, jsbytecode *pc, JSObject **obj,
- JSObject **pobj, PropertyCacheEntry **entry, PropertyName **name)
- {
-- AutoAssertNoGC nogc;
-+ js::AutoAssertNoGC nogc;
-
- JS_ASSERT(this == &cx->propertyCache());
-
-@@ -65,7 +65,7 @@ JS_ALWAYS_INLINE bool
- js::PropertyCache::testForSet(JSContext *cx, jsbytecode *pc, JSObject *obj,
- PropertyCacheEntry **entryp, JSObject **obj2p, PropertyName **namep)
- {
-- AutoAssertNoGC nogc;
-+ js::AutoAssertNoGC nogc;
-
- JS_ASSERT(this == &cx->propertyCache());
-
---- js/src/vm/ObjectImpl-inl.h~
-+++ js/src/vm/ObjectImpl-inl.h
-@@ -164,9 +164,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
-@@ -321,7 +321,7 @@ js::ObjectImpl::sizeOfThis() 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());
- JSObject *tmp = obj->asObjectPtr();
-@@ -335,7 +335,7 @@ inline void
- js::ObjectImpl::privateWriteBarrierPre(void **old)
- {
- #ifdef JSGC_INCREMENTAL
-- Zone *zone = this->zone();
-+ JS::Zone *zone = this->zone();
- if (zone->needsBarrier()) {
- if (*old && getClass()->trace)
- getClass()->trace(zone->barrierTracer(), this->asObjectPtr());
-@@ -362,7 +362,7 @@ js::ObjectImpl::writeBarrierPre(ObjectIm
- if (uintptr_t(obj) < 32)
- return;
-
-- Zone *zone = obj->zone();
-+ JS::Zone *zone = obj->zone();
- if (zone->needsBarrier()) {
- MOZ_ASSERT(!zone->rt->isHeapBusy());
- JSObject *tmp = obj->asObjectPtr();