Implement the new semantics for 'super(...)'
authordslomov@chromium.org <dslomov@chromium.org>
Fri, 17 Oct 2014 09:16:03 +0000 (09:16 +0000)
committerdslomov@chromium.org <dslomov@chromium.org>
Fri, 17 Oct 2014 09:16:03 +0000 (09:16 +0000)
commitd4cbcfce6e859296c8c7bbac3954b342c173408c
treed1ce876210c1881f4776285d9cb04359f813a480
parent27b1c823cee413e35d8d958e742a85c6597b102c
Implement the new semantics for 'super(...)'

Per the latest ES6 draft, super(...) translates into a call
to function's prototype.

R=arv@chromium.org, ishell@chromium.org, verwaest@chromium.org
BUG=v8:3330
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24683 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/full-codegen-arm.cc
src/arm64/full-codegen-arm64.cc
src/ast.cc
src/ast.h
src/compiler/ast-graph-builder.cc
src/ia32/full-codegen-ia32.cc
src/x64/full-codegen-x64.cc
test/mjsunit/harmony/super.js