Changeset 153774 in webkit


Ignore:
Timestamp:
Aug 6, 2013, 5:19:28 PM (12 years ago)
Author:
mark.lam@apple.com
Message:

Assertion failure in emitExpressionInfo when reloading with Web Inspector open.
https://bugs.webkit.org/show_bug.cgi?id=119532.

Reviewed by Oliver Hunt.

  • parser/Parser.cpp:

(JSC::::Parser):

  • Just need to initialize the Parser's JSTokenLocation's initial line and startOffset as well during Parser construction.
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r153772 r153774  
     12013-08-06  Mark Lam  <mark.lam@apple.com>
     2
     3        Assertion failure in emitExpressionInfo when reloading with Web Inspector open.
     4        https://bugs.webkit.org/show_bug.cgi?id=119532.
     5
     6        Reviewed by Oliver Hunt.
     7
     8        * parser/Parser.cpp:
     9        (JSC::::Parser):
     10        - Just need to initialize the Parser's JSTokenLocation's initial line and
     11          startOffset as well during Parser construction.
     12
    1132013-08-04  Sam Weinig  <sam@webkit.org>
    214
  • trunk/Source/JavaScriptCore/parser/Parser.cpp

    r153763 r153774  
    8181    m_arena = m_vm->parserArena.get();
    8282    m_lexer->setCode(source, m_arena);
     83    m_token.m_location.line = source.firstLine();
     84    m_token.m_location.startOffset = source.startOffset();
    8385    m_token.m_location.endOffset = source.startOffset();
    8486    m_token.m_location.lineStartOffset = source.startOffset();
Note: See TracChangeset for help on using the changeset viewer.