Reapply "Resolve references to "this" the same way as normal variables""
authorwingo <wingo@igalia.com>
Tue, 19 May 2015 14:51:10 +0000 (07:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 19 May 2015 14:50:59 +0000 (14:50 +0000)
commit66665ae7274224ace841560462baee95ae3cc6cc
tree610b0800371fba6b6fe8157c023d8a5b98a061f1
parentea01e6e3f359b4dbb43aa67bf9009be3f7d870eb
Reapply "Resolve references to "this" the same way as normal variables""

This reapplies https://codereview.chromium.org/1136073002, along with
the followups:

  Remove Scope::scope_uses_this_ flag
  https://codereview.chromium.org/1128963005

and

  PPC: Resolve references to "this" the same way as normal variables
  https://codereview.chromium.org/1134073003

R=rossberg@chromium.org
LOG=N
BUG=

Review URL: https://codereview.chromium.org/1136883006

Cr-Commit-Position: refs/heads/master@{#28458}

Review URL: https://codereview.chromium.org/1140633003

Cr-Commit-Position: refs/heads/master@{#28484}
34 files changed:
src/arm/full-codegen-arm.cc
src/arm/lithium-codegen-arm.cc
src/arm64/full-codegen-arm64.cc
src/arm64/lithium-codegen-arm64.cc
src/compiler.cc
src/compiler/ast-graph-builder.cc
src/compiler/ast-graph-builder.h
src/contexts.cc
src/heap/heap.h
src/ia32/full-codegen-ia32.cc
src/ia32/lithium-codegen-ia32.cc
src/mips/full-codegen-mips.cc
src/mips/lithium-codegen-mips.cc
src/mips64/full-codegen-mips64.cc
src/mips64/lithium-codegen-mips64.cc
src/objects.h
src/parser.cc
src/ppc/full-codegen-ppc.cc
src/ppc/lithium-codegen-ppc.cc
src/preparser.h
src/runtime/runtime-debug.cc
src/runtime/runtime-scopes.cc
src/scopeinfo.cc
src/scopes.cc
src/scopes.h
src/variables.cc
src/x64/full-codegen-x64.cc
src/x64/lithium-codegen-x64.cc
test/cctest/test-parsing.cc
test/cctest/test-serialize.cc
test/mjsunit/debug-scopes.js
test/mjsunit/harmony/arrow-functions-this.js [new file with mode: 0644]
test/mjsunit/testcfg.py
test/mjsunit/this-dynamic-lookup.js [new file with mode: 0644]