• Ross McIlroy's avatar
    [Ast] Teach Ast Printer to print raw literal values. · c60934e9
    Ross McIlroy authored
    Converts the ast prettyprinter to printing literals from the raw values
    rather than internalized on-heap strings. This enables ast printing before
    internalizing, and means we can avoid use of the isolate in the interpreter's
    off-thread phase.
    
    Also removes --print-builtin-ast and relies on just --print-ast to print
    everything.
    
    Finally, converts FunctionLiteral's debug_name function to return a
    char[] which is created from the raw name literal where it exists, rather
    than relying on the value having been internalized.
    
    BUG=v8:5203
    
    Change-Id: I0e358d6acc9ae4516ed49e7a763e208fea5fcf66
    Reviewed-on: https://chromium-review.googlesource.com/749261
    Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49119}
    c60934e9
Name
Last commit
Last update
..
OWNERS Loading commit data...
ast-expression-rewriter.cc Loading commit data...
ast-expression-rewriter.h Loading commit data...
ast-function-literal-id-reindexer.cc Loading commit data...
ast-function-literal-id-reindexer.h Loading commit data...
ast-numbering.cc Loading commit data...
ast-numbering.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...