Ignore:
Timestamp:
May 29, 2021, 9:59:52 AM (4 years ago)
Author:
[email protected]
Message:

VM::isTerminationException() should only be run on a non-null exception value.
https://bugs.webkit.org/show_bug.cgi?id=226417
rdar://78646170

Reviewed by Filip Pizlo.

  • jsc.cpp:

(runInteractive):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r278213 r278240  
    31403140        JSValue returnValue = evaluate(globalObject, jscSource(line, sourceOrigin, sourceOrigin.string()), JSValue(), evaluationException);
    31413141#endif
    3142         if (vm.isTerminationException(evaluationException.get()))
     3142        if (evaluationException && vm.isTerminationException(evaluationException.get()))
    31433143            vm.setExecutionForbidden();
    31443144
Note: See TracChangeset for help on using the changeset viewer.