• rmcilroy's avatar
    [Interpreter] Fill out function prologue support. · 6256e1dc
    rmcilroy authored
    Fills out some more of the function prologue support in the
    interpreter. Deals with creation of arguments objects and throwing
    IllegalRedeclarations if necessary. Also adds (untested) support for
    this.function and new.target variable assignment.
    
    Also fixes a bug in Frames::is_java_script() to deal with
    interpreter frames correctly.
    
    Cleans up comments in builtins InterpreterEntryTrampoline about
    missing prologue support.
    
    Adds the following bytecodes:
      - CreateArgumentsSloppy
      - CreateArgumentsStrict
    
    BUG=v8:4280
    LOG=N
    
    Review URL: https://codereview.chromium.org/1412953007
    
    Cr-Commit-Position: refs/heads/master@{#31486}
    6256e1dc
interpreter.cc 34.5 KB