Bug 669412 followup: remove variables preBytes & postBytes that are now unused after earlier patch on this bug. r=bent
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 27 Sep 2011 13:22:49 -0700
changeset 77731 0b1934705b4ea5a58611900879a06faddc72e658
parent 77730 1dc6d4f550ba702fed7228c523c866ad9c508098
child 77732 4ecbff48c0f1623e300d1d164ad8d1b38b2949c8
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersbent
bugs669412
milestone10.0a1
Bug 669412 followup: remove variables preBytes & postBytes that are now unused after earlier patch on this bug. r=bent
ipc/testshell/XPCShellEnvironment.cpp
--- a/ipc/testshell/XPCShellEnvironment.cpp
+++ b/ipc/testshell/XPCShellEnvironment.cpp
@@ -402,23 +402,18 @@ DumpXPC(JSContext *cx,
     return JS_TRUE;
 }
 
 static JSBool
 GC(JSContext *cx,
    uintN argc,
    jsval *vp)
 {
-    JSRuntime *rt;
-    uint32 preBytes, postBytes;
-
-    rt = JS_GetRuntime(cx);
-    preBytes = JS_GetGCParameter(rt, JSGC_BYTES);
+    JSRuntime *rt = JS_GetRuntime(cx);
     JS_GC(cx);
-    postBytes = JS_GetGCParameter(rt, JSGC_BYTES);
 #ifdef JS_GCMETER
     js_DumpGCStats(rt, stdout);
 #endif
     JS_SET_RVAL(cx, vp, JSVAL_VOID);
     return JS_TRUE;
 }
 
 #ifdef JS_GC_ZEAL