Super Constructor Calls need to use a vector slot, not an ic slot.
authormvstanton <mvstanton@chromium.org>
Tue, 3 Feb 2015 19:16:07 +0000 (11:16 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 3 Feb 2015 19:16:47 +0000 (19:16 +0000)
commit64f81870ee0bc51a32620be8face35e7cbd0da92
tree3f74e036e83932ee3554735356871b30831a76d7
parent4f786befb791878e672b22ebc414e7bac1956ab3
Super Constructor Calls need to use a vector slot, not an ic slot.

The Ast Call node is accustomed to using a vector IC slot for the
cases when it uses a CallIC. The super constructor work alters this
somewhat by using a CallConstructStub instead, however the
CallConstructStub expects a vector slot and not a vector ic slot.
This distinction needs to be maintained because slots and ic slots
have different clearing strategies and are handled differently.

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

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

Cr-Commit-Position: refs/heads/master@{#26414}
src/arm/full-codegen-arm.cc
src/arm64/full-codegen-arm64.cc
src/ast.cc
src/ast.h
src/hydrogen.cc
src/ia32/full-codegen-ia32.cc
src/mips/full-codegen-mips.cc
src/type-feedback-vector.h
src/typing.cc
src/x64/full-codegen-x64.cc