commit | e8f3d24740e9c38c731db23de3628b71cf146371 | [log] [tgz] |
---|---|---|
author | sigbjornf@opera.com <sigbjornf@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Tue Dec 10 11:21:13 2013 |
committer | sigbjornf@opera.com <sigbjornf@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Tue Dec 10 11:21:13 2013 |
tree | c01b44fc1427f49a4a624b2037d764bbe66b40b3 | |
parent | ba7904b253b0ca5f29568354154812ad946f75ed [diff] |
Generate a bit less code to handle failed arity checks. If a failed argument count check is in the context of an 'extended' ExceptionState object, then throw the required TypeError using it instead. This saves having to duplicate the information it already contains, generating a bit less code overall. R=mkwst@chromium.org BUG=270033 Review URL: https://codereview.chromium.org/105693002 git-svn-id: svn://svn.chromium.org/blink/trunk@163527 bbb929c8-8fbe-4397-9dbb-9b2b20218538