Style nitpicking. Fix overlong lines.
authorAndreas Gal <gal@mozilla.com>
Sat, 05 Jul 2008 14:05:25 -0700
changeset 17431 ac9c1fa73e6f3abb9bd736025dfbdaaf3652c400
parent 17430 c0ee4caf332f33b3e992a3e7087b2e874edee87c
child 17432 9edc74143be669124e0589c0636e026bd9d7519b
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.1a1pre
Style nitpicking. Fix overlong lines.
js/src/jstracer.cpp
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -229,17 +229,18 @@ TraceRecorder::TraceRecorder(JSContext* 
     lir = verbose_filter = new (&gc) VerboseWriter(&gc, lir, lirbuf->names);
 #endif
     lir = cse_filter = new (&gc) CseFilter(lir, &gc);
     lir = expr_filter = new (&gc) ExprFilter(lir);
     lir->ins0(LIR_trace);
     /* generate the entry map and stash it in the trace */
     entryNativeFrameSlots = nativeFrameSlots(entryFrame, entryRegs);
     maxNativeFrameSlots = entryNativeFrameSlots;
-    LIns* data = lir_buf_writer->skip(sizeof(VMFragmentInfo) + entryNativeFrameSlots * sizeof(char));
+    LIns* data = lir_buf_writer->skip(sizeof(VMFragmentInfo) + 
+            entryNativeFrameSlots * sizeof(char));
     fragmentInfo = (VMFragmentInfo*)data->payload();
     buildTypeMap(entryFrame, entryFrame, entryRegs, fragmentInfo->typeMap);
     fragmentInfo->nativeStackBase = nativeFrameOffset(&cx->fp->spbase[0]);
     fragment->vmprivate = fragmentInfo;
     fragment->param0 = lir->insImm8(LIR_param, Assembler::argRegs[0], 0);
     fragment->param1 = lir->insImm8(LIR_param, Assembler::argRegs[1], 0);
     fragment->sp = lir->insLoadi(fragment->param0, offsetof(InterpState, sp));
     cx_ins = lir->insLoadi(fragment->param0, offsetof(InterpState, cx));
@@ -643,17 +644,18 @@ js_LoopEdge(JSContext* cx)
 
     /* execute previously recorded race */
     VMFragmentInfo* fi = (VMFragmentInfo*)f->vmprivate;
     double native[fi->maxNativeFrameSlots+1];
 #ifdef DEBUG
     *(uint64*)&native[fi->maxNativeFrameSlots] = 0xdeadbeefdeadbeefLL;
 #endif
     unbox(cx->fp, *cx->fp->regs, fi->typeMap, native);
-    double* entry_sp = &native[fi->nativeStackBase/sizeof(double) + (cx->fp->regs->sp - cx->fp->spbase - 1)];
+    double* entry_sp = &native[fi->nativeStackBase/sizeof(double) + 
+                               (cx->fp->regs->sp - cx->fp->spbase - 1)];
     state.sp = (void*)entry_sp;
     state.rp = NULL;
     state.f = NULL;
     state.cx = cx;
     union { NIns *code; GuardRecord* (FASTCALL *func)(InterpState*, Fragment*); } u;
     u.code = f->code();
     GuardRecord* lr = u.func(&state, NULL);
     cx->fp->regs->sp += (((double*)state.sp - entry_sp));
@@ -689,17 +691,18 @@ TraceRecorder::varval(unsigned n) const
 {
     JS_ASSERT((n >= 0) && (n <= cx->fp->nvars));
     return cx->fp->vars[n];
 }
 
 jsval&
 TraceRecorder::stackval(int n) const
 {
-    JS_ASSERT((cx->fp->regs->sp + n < cx->fp->spbase + cx->fp->script->depth) && (cx->fp->regs->sp + n >= cx->fp->spbase));
+    JS_ASSERT((cx->fp->regs->sp + n < cx->fp->spbase + cx->fp->script->depth) && 
+            (cx->fp->regs->sp + n >= cx->fp->spbase));
     return cx->fp->regs->sp[n];
 }
 
 LIns*
 TraceRecorder::arg(unsigned n)
 {
     return get(&argval(n));
 }