[runtime] Remove obsolete Object::IsSpecFunction.
authorbmeurer <bmeurer@chromium.org>
Wed, 23 Sep 2015 05:53:23 +0000 (22:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 23 Sep 2015 05:53:40 +0000 (05:53 +0000)
commit91c495ff446363b480aee3a980dcb5006dca5692
treebc0acf081526bc8e2ec036d272f5d7cdc3d703b2
parent634d1d86d8e98584097c6cb548a68ecf705c44f7
[runtime] Remove obsolete Object::IsSpecFunction.

We don't need Object::IsSpecFunction anymore, since it only checks for
JSFunction and JSFunctionProxy, but what you actually want to check for
(in case of accessors) is whether the target has a [[Call]] internal
method, which is exactly what Object::IsCallable does.

CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_layout_dbg,v8_linux_nosnap_dbg
R=rossberg@chromium.org
BUG=v8:4413
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#30875}
src/objects-inl.h
src/objects.cc
src/objects.h
src/runtime/runtime-object.cc