clemensh
|
25c2203a8f
|
Check CallSite arguments more rigorously
Before, it was possible to construct invalid CallSite objects, which
would trigger a runtime assert when any function is called on it.
This check ensures to throw a TypeError when invalid information is
passed to the CallSite constructor.
This reverts part of this CL: https://codereview.chromium.org/2006603002
R=ishell@chromium.org, titzer@chromium.org, yangguo@chromium.org
BUG=chromium:614295
Review-Url: https://codereview.chromium.org/2010493002
Cr-Commit-Position: refs/heads/master@{#36578}
|
2016-05-30 10:30:13 +00:00 |
|