[es6] Remove left-overs from Function.prototype.toMethod.
authorbmeurer <bmeurer@chromium.org>
Fri, 25 Sep 2015 04:04:28 +0000 (21:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 25 Sep 2015 04:04:36 +0000 (04:04 +0000)
commitff2c9eace4cd987de3efcfdddc92143ede5d2c76
tree4652406b72edbd0843c2d7a22686d53eceff7585
parentbd35b54d82b80a3d14c9aa38ac9c19eca5450225
[es6] Remove left-overs from Function.prototype.toMethod.

The actual Function.prototype.toMethod was removed some time already,
but there were some stuff (esp. %ToMethod) left in the tree, including
tests for %ToMethod.  This code (and esp. the tests) cause trouble in
the process of moving bound functions away from JSFunction; so since
the code is unused anyway, we can as well remove it.

The original removal of Function.prototype.toMethod was in February
2015 in 68e489758607bb7373409b49a0a7883407a322b3.

R=jarin@chromium.org
BUG=v8:3330
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#30925}
src/objects.cc
src/objects.h
src/runtime/runtime-classes.cc
src/runtime/runtime.h
test/cctest/test-api.cc
test/mjsunit/es6/toMethod.js [deleted file]
test/mjsunit/harmony/super.js