• adamk's avatar
    [ignition] Eliminate hole checks where statically possible for loads and stores · 35a3ccbf
    adamk authored
    Move hole check logic from full-codegen into scope analysis, and store the
    "needs hole check" bit on VariableProxy. This makes it easy to re-use in
    any backend: it will be trivial to extend the use of this logic in, e.g.,
    full-codegen variable stores.
    
    While changing the signatures of the variable loading/storing methods in
    Ignition, I took the liberty of replacing the verb "Visit" with "Build", since these
    are not part of AST visiting.
    
    BUG=v8:5460
    
    Review-Url: https://chromiumcodereview.appspot.com/2411873004
    Cr-Commit-Position: refs/heads/master@{#40479}
    35a3ccbf
bytecode-generator.cc 118 KB