• Leszek Swirski's avatar
    Revert "[parser] Slice the source string where possible" · 18bc2856
    Leszek Swirski authored
    This reverts commit 2df5e7a7.
    
    Reason for revert: Mystery crashes https://bugs.chromium.org/p/chromium/issues/detail?id=838805
    
    Original change's description:
    > [parser] Slice the source string where possible
    > 
    > When internalizing string literals (for quoted strings or property names),
    > try to create a sliced string of the source string rather than allocating
    > a copy of the bytes.
    > 
    > This will not work for string literals that contain escapes (e.g. unicode
    > escapes), and currently does not support two-byte strings.
    > 
    > Bug: chromium:818642
    > Change-Id: I686e5ad36baecd1a84ce5e124118431249b6c980
    > Reviewed-on: https://chromium-review.googlesource.com/1010282
    > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
    > Reviewed-by: Yang Guo <yangguo@chromium.org>
    > Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
    > Reviewed-by: Marja Hölttä <marja@chromium.org>
    > Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#52898}
    
    TBR=marja@chromium.org,yangguo@chromium.org,jarin@chromium.org,mlippautz@chromium.org,leszeks@chromium.org,verwaest@chromium.org
    
    Change-Id: I598b6668c43a3e843e2dd8e60852b2b2f3461954
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: chromium:818642
    Reviewed-on: https://chromium-review.googlesource.com/1039885
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52919}
    18bc2856
Name
Last commit
Last update
..
OWNERS Loading commit data...
ast-function-literal-id-reindexer.cc Loading commit data...
ast-function-literal-id-reindexer.h Loading commit data...
ast-source-ranges.h Loading commit data...
ast-traversal-visitor.h Loading commit data...
ast-value-factory.cc Loading commit data...
ast-value-factory.h Loading commit data...
ast.cc Loading commit data...
ast.h Loading commit data...
compile-time-value.cc Loading commit data...
compile-time-value.h Loading commit data...
context-slot-cache.cc Loading commit data...
context-slot-cache.h Loading commit data...
modules.cc Loading commit data...
modules.h Loading commit data...
prettyprinter.cc Loading commit data...
prettyprinter.h Loading commit data...
scopes.cc Loading commit data...
scopes.h Loading commit data...
variables.cc Loading commit data...
variables.h Loading commit data...