commit | b25d76e37a4cc5ef0692f2c676bbd1da1c6294d1 | [log] [tgz] |
---|---|---|
author | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Wed Apr 02 16:05:57 2014 |
committer | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Wed Apr 02 16:05:57 2014 |
tree | 20dab6af60d0c98382aeba844196310bd059994f | |
parent | 75b340bb689f246e5250ce9c49ce8033d1a29c0c [diff] |
Add helper functions for throwing arity-related TypeErrors Add a few new helper functions that the generated bindings code can use to throw TypeErrors for arity mismatches. This reduces the binary footprint for these exceptional code-paths. (Approx. 75kB smaller content_shell binary on Linux, x86-64, gcc-4.8.2) Review URL: https://codereview.chromium.org/221073003 git-svn-id: svn://svn.chromium.org/blink/trunk@170666 bbb929c8-8fbe-4397-9dbb-9b2b20218538