• machenbach's avatar
    Revert of Resolve references to "this" the same way as normal variables... · 5cab6be8
    machenbach authored
    Revert of Resolve references to "this" the same way as normal variables (patchset #2 id:20001 of https://codereview.chromium.org/1130733003/)
    
    Reason for revert:
    [Sheriff] Breaks jetstream benchmark with errors like this:
    
    >>> Running suite: JetStream/bigfib.cpp
    >>> Stdout (#1):
    undefined:93: ReferenceError: this is not defined
      this['Module'] = Module;
      ^
    ReferenceError: this is not defined
        at eval (eval at __run (runner.js:13:3), <anonymous>:93:3)
        at eval (native)
        at __run (runner.js:13:3)
        at Object.runSimpleBenchmark (runner.js:44:31)
        at runner.js:97:13
    
    Original issue's description:
    > Resolve references to "this" the same way as normal variables
    >
    > Make the parser handle references to "this" as unresolved variables, so the
    > same logic as for the rest of function parameters is used for the receiver.
    > Minor additions to the code generation handle copying the receiver to the
    > context, along with the rest of the function parameters.
    >
    > Based on work by Adrian Perez de Castro <aperez@igalia.com>.
    >
    > BUG=v8:2700
    > LOG=N
    >
    > Committed: https://crrev.com/06a792b7cc2db33ffce7244c044a9c05afbb6116
    > Cr-Commit-Position: refs/heads/master@{#28263}
    
    TBR=rossberg@chromium.org,arv@chromium.org,wingo@igalia.com
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=v8:2700
    
    Review URL: https://codereview.chromium.org/1129723003
    
    Cr-Commit-Position: refs/heads/master@{#28283}
    5cab6be8
Name
Last commit
Last update
..
runtime-array.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-i18n.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-json.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-liveedit.cc Loading commit data...
runtime-maths.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-observe.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-uri.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...