[JAEGER] Just a little MSVC warning fix.
authorDavid Mandelin <dmandelin@mozilla.com>
Tue, 10 Aug 2010 17:10:49 -0700
changeset 53373 dd17dd68ecf4a8423bbe45c1d727d4a81833b7aa
parent 53372 fc549b24a1af3f63e70ed1108dbc29a4a734aa89
child 53374 225495aeb3d502f07781d498a9b7fabc440b583a
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)
milestone2.0b4pre
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
[JAEGER] Just a little MSVC warning fix.
js/src/methodjit/InvokeHelpers.cpp
--- a/js/src/methodjit/InvokeHelpers.cpp
+++ b/js/src/methodjit/InvokeHelpers.cpp
@@ -679,17 +679,17 @@ SwallowErrors(VMFrame &f, JSStackFrame *
             break;
         }
 
         /* Don't unwind if this was the entry frame. */
         if (fp == stopFp)
             break;
 
         /* Unwind and return. */
-        ok &= js_UnwindScope(cx, 0, cx->throwing);
+        ok &= bool(js_UnwindScope(cx, 0, cx->throwing));
         InlineReturn(cx, ok);
     }
 
     /* Update the VMFrame before leaving. */
     JS_ASSERT(&f.regs == cx->regs);
 
     JS_ASSERT_IF(!ok, cx->fp == stopFp);
     return ok;