Only swap undefined for the global object if necessary in the prologue
authorverwaest <verwaest@chromium.org>
Mon, 4 May 2015 13:38:50 +0000 (06:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 4 May 2015 13:39:00 +0000 (13:39 +0000)
commitfab3508062396c2768b5dcfa0fd7d40eba527d62
treeaa6117bf61fb6ecc71ff39a4e333444110c3a8a7
parent6e9e2c08292b553602c74b16b8ccff4e4ccac003
Only swap undefined for the global object if necessary in the prologue

BUG=

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

Cr-Commit-Position: refs/heads/master@{#28200}
19 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.h
src/compiler/ast-graph-builder.cc
src/hydrogen.cc
src/hydrogen.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/x64/full-codegen-x64.cc
src/x64/lithium-codegen-x64.cc
src/x87/full-codegen-x87.cc
src/x87/lithium-codegen-x87.cc