Bug 1495028 - Fix extraneous braces introduced by Bug 1495028. r=jandem
authorJason Orendorff <jorendorff@mozilla.com>
Sat, 29 Sep 2018 12:50:40 +0000
changeset 494614 bed2356f02f774c1d0bcc9d7b2fc6fe293cbdc90
parent 494613 994badb573ef05a94f82f5d9daf9a7b9576bb60e
child 494615 c96874a02a34f471af532c70c6da531c5e429046
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1495028
milestone64.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 1495028 - Fix extraneous braces introduced by Bug 1495028. r=jandem Differential Revision: https://phabricator.services.mozilla.com/D7193
js/src/vm/Debugger.cpp
--- a/js/src/vm/Debugger.cpp
+++ b/js/src/vm/Debugger.cpp
@@ -1024,19 +1024,17 @@ Debugger::slowPathOnLeaveFrame(JSContext
                 OnPopHandler* handler = frameobj->onPopHandler();
 
                 Maybe<AutoRealm> ar;
                 ar.emplace(cx, dbg->object);
 
                 RootedValue wrappedValue(cx, value);
                 RootedValue completion(cx);
                 if (!dbg->wrapDebuggeeValue(cx, &wrappedValue)) {
-                {
                     resumeMode = dbg->reportUncaughtException(ar);
-                }
                     break;
                 }
 
                 // Call the onPop handler.
                 ResumeMode nextResumeMode = resumeMode;
                 RootedValue nextValue(cx, wrappedValue);
                 bool success;
                 {