Changeset 263408 in webkit


Ignore:
Timestamp:
Jun 23, 2020 11:49:03 AM (4 years ago)
Author:
mark.lam@apple.com
Message:

Handle string overflow in DFG graph dump while validating AI.
https://bugs.webkit.org/show_bug.cgi?id=213524
<rdar://problem/64635620>

Not reviewed.

Applying refinement suggested by Darin in https://bugs.webkit.org/show_bug.cgi?id=213524#c3.

  • ftl/FTLLowerDFGToB3.cpp:

(JSC::FTL::DFG::LowerDFGToB3::validateAIState):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r263405 r263408  
     12020-06-23  Mark Lam  <mark.lam@apple.com>
     2
     3        Handle string overflow in DFG graph dump while validating AI.
     4        https://bugs.webkit.org/show_bug.cgi?id=213524
     5        <rdar://problem/64635620>
     6
     7        Not reviewed.
     8
     9        Applying refinement suggested by Darin in https://bugs.webkit.org/show_bug.cgi?id=213524#c3.
     10
     11        * ftl/FTLLowerDFGToB3.cpp:
     12        (JSC::FTL::DFG::LowerDFGToB3::validateAIState):
     13
    1142020-06-23  Mark Lam  <mark.lam@apple.com>
    215
  • trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp

    r263405 r263408  
    560560            StringPrintStream out;
    561561            m_graph.dump(out);
    562             auto expectedString = out.tryToString();
    563             m_graphDump = expectedString ? expectedString.value() : String("<out of memory while dumping graph>"_s);
     562            m_graphDump = out.tryToString().value_or("<out of memory while dumping graph>"_s);
    564563        }
    565564
Note: See TracChangeset for help on using the changeset viewer.