[strong] Fix super in strong classes
authorarv <arv@chromium.org>
Mon, 18 May 2015 14:18:51 +0000 (07:18 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 18 May 2015 14:18:38 +0000 (14:18 +0000)
commit55a7500343f5fe03b6da12ee5c7ef9761da8c269
treee870ac08bb6802ee7b3b1a9841be45b17b1ace07
parentf3a18ee6626fd838cf141b2364f350ecec79fb03
[strong] Fix super in strong classes

The functions of strong classes are born non extensible. But, when
the class is created we need to add an own private symbol representing
the [[HomeObject]] slot in the spec.

Like for the hidden_string property, we allow adding private own
symbols to non extensible objects.

BUG=v8:4077
LOG=N
R=rossberg@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#28447}
src/isolate.cc
test/mjsunit/strong/function-arity.js
test/mjsunit/strong/super.js [new file with mode: 0644]