[builtins] Also simplify the Symbol constructor.
authorbmeurer <bmeurer@chromium.org>
Wed, 16 Sep 2015 11:35:15 +0000 (04:35 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 16 Sep 2015 11:35:30 +0000 (11:35 +0000)
commit04087a7e45648a41b791e335ca852e53676f11f8
treeca338649d2a6a27d2a8e6b01f4bc16150e918e8a
parentd0e77b290922fb4f2978d4635e7269447b593e71
[builtins] Also simplify the Symbol constructor.

No need to rely on the %_IsConstructCall magic here, we can just
implement the Symbol constructor in C++ altogether (it was just a
stupid wrapper around %CreateSymbol anyway).

R=mstarzinger@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30762}
src/bootstrapper.cc
src/builtins.cc
src/builtins.h
src/symbol.js