commit | a96cc9bffc200d4ea83c2a283ca3ac0b72e9a588 | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Wed Feb 18 12:42:45 2015 -0800 |
committer | Tom Sepez <tsepez@chromium.org> | Wed Feb 18 12:42:45 2015 -0800 |
tree | 34df920fc3199e0f710abd62e80549ca7feedb94 | |
parent | 2da7bd4d78897bed52fe1304694f4e970db65e58 [diff] |
Replace ugly JS_Define macros with templates. This allows us to step through the JS bindings code with the debugger, which I could not do (but wanted to) the other day. In the process, get rid of some else after returns, and one unreachable code path. I also get rid of some tracing macros that we would never use for the sake of clarity, and some plain unused definitions. R=brucedawson@chromium.org Review URL: https://codereview.chromium.org/908033002