Changeset 205571 in webkit


Ignore:
Timestamp:
Sep 7, 2016 4:31:37 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Remove always false case in Debugger
https://bugs.webkit.org/show_bug.cgi?id=161717

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-09-07
Reviewed by Brian Burg.

  • debugger/Debugger.cpp:

(JSC::Debugger::didExecuteProgram):
We would have earlier returned a few statements ago if this case was true.
And we would have crashed in the previous statement if this case was true.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r205570 r205571  
     12016-09-07  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Remove always false case in Debugger
     4        https://bugs.webkit.org/show_bug.cgi?id=161717
     5
     6        Reviewed by Brian Burg.
     7
     8        * debugger/Debugger.cpp:
     9        (JSC::Debugger::didExecuteProgram):
     10        We would have earlier returned a few statements ago if this case was true.
     11        And we would have crashed in the previous statement if this case was true.
     12
    1132016-09-07  Yusuke Suzuki  <utatane.tea@gmail.com>
    214
  • trunk/Source/JavaScriptCore/debugger/Debugger.cpp

    r205569 r205571  
    758758        VMEntryFrame* topVMEntryFrame = m_vm.topVMEntryFrame;
    759759        m_pauseOnCallFrame = m_currentCallFrame->callerFrame(topVMEntryFrame);
    760         if (!m_currentCallFrame)
    761             return;
    762760    }
    763761    VMEntryFrame* topVMEntryFrame = m_vm.topVMEntryFrame;
Note: See TracChangeset for help on using the changeset viewer.