Bug 1141862 - Followup: Remove erronously landed debug spew. r=me
authorEric Faust <efaustbmo@mozilla.com>
Wed, 08 Apr 2015 22:40:51 -0700
changeset 268152 d2a1fc813b91ec868a7e16e9de20658dc66de2ce
parent 268151 b987bc66a933b3fb5ccc2d35a4491cb432b653ef
child 268153 fa58bda5bde2ccf2542422184fded97f53b2a81c
push id4830
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:18:48 +0000
treeherdermozilla-beta@4c2175bb0420 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1141862
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1141862 - Followup: Remove erronously landed debug spew. r=me
js/src/gc/Nursery.cpp
js/src/jsfun.cpp
--- a/js/src/gc/Nursery.cpp
+++ b/js/src/gc/Nursery.cpp
@@ -730,22 +730,19 @@ js::Nursery::moveSlotsToTenured(NativeOb
     PodCopy(dst->slots_, src->slots_, count);
     setSlotsForwardingPointer(src->slots_, dst->slots_, count);
     return count * sizeof(HeapSlot);
 }
 
 MOZ_ALWAYS_INLINE size_t
 js::Nursery::moveElementsToTenured(NativeObject* dst, NativeObject* src, AllocKind dstKind)
 {
-    fprintf(stderr, "dst: %p src: %p\n", dst, src);
     if (src->hasEmptyElements() || src->denseElementsAreCopyOnWrite())
         return 0;
 
-    fprintf(stderr, "got here: dst: %p src: %p\n", dst, src);
-
     Zone* zone = src->zone();
     ObjectElements* srcHeader = src->getElementsHeader();
     ObjectElements* dstHeader;
 
     /* TODO Bug 874151: Prefer to put element data inline if we have space. */
     if (!isInside(srcHeader)) {
         MOZ_ASSERT(src->elements_ == dst->elements_);
         hugeSlots.remove(reinterpret_cast<HeapSlot*>(srcHeader));
--- a/js/src/jsfun.cpp
+++ b/js/src/jsfun.cpp
@@ -716,18 +716,16 @@ fun_hasInstance(JSContext* cx, HandleObj
     *bp = isDelegate;
     return true;
 }
 
 inline void
 JSFunction::trace(JSTracer* trc)
 {
     if (isExtended()) {
-        if (isMethod())
-            fprintf(stderr, "It's a method! %p\n", this);
         TraceRange(trc, ArrayLength(toExtended()->extendedSlots),
                    (HeapValue*)toExtended()->extendedSlots, "nativeReserved");
     }
 
     if (atom_)
         TraceEdge(trc, &atom_, "atom");
 
     if (isInterpreted()) {