Changeset 199070 in webkit


Ignore:
Timestamp:
Apr 5, 2016 1:05:02 PM (8 years ago)
Author:
sbarati@apple.com
Message:

jsc-layout-tests.yaml/js/script-tests/regress-141098.js failing on Yosemite Debug after r198989
https://bugs.webkit.org/show_bug.cgi?id=156187

Reviewed by Filip Pizlo.

This is a speculative fix. Lets see if the prevents the timeout.

  • parser/Parser.cpp:

(JSC::Parser<LexerType>::parseStatementListItem):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r199069 r199070  
     12016-04-05  Saam barati  <sbarati@apple.com>
     2
     3        jsc-layout-tests.yaml/js/script-tests/regress-141098.js failing on Yosemite Debug after r198989
     4        https://bugs.webkit.org/show_bug.cgi?id=156187
     5
     6        Reviewed by Filip Pizlo.
     7
     8        This is a speculative fix. Lets see if the prevents the timeout.
     9
     10        * parser/Parser.cpp:
     11        (JSC::Parser<LexerType>::parseStatementListItem):
     12
    1132016-04-04  Filip Pizlo  <fpizlo@apple.com>
    214
  • trunk/Source/JavaScriptCore/parser/Parser.cpp

    r198989 r199070  
    543543    // The grammar is documented here:
    544544    // http://www.ecma-international.org/ecma-262/6.0/index.html#sec-statements
     545
     546    failIfStackOverflow();
     547
    545548    DepthManager statementDepth(&m_statementDepth);
    546549    m_statementDepth++;
Note: See TracChangeset for help on using the changeset viewer.