X87: [builtin] Refactor Invoke to deal with any kind of callable.
port 634d1d86 (r30874). original commit message: Now both Execution::Call and Execution::New can deal with any kind of target and will raise a proper exception if the target is not callable (which is not yet spec compliant for New, as we would have to check IsConstructor instead, which we don't have yet). Now we no longer need to do any of these weird call/construct delegate gymnastics in C++, and we finally have a single true bottleneck for Call/Construct abstract operations in the code base, with only a few special handlings left in the compilers to optimize the JSFunction case. BUG= Review URL: https://codereview.chromium.org/1362293002 Cr-Commit-Position: refs/heads/master@{#30904}
Showing
Please
register
or
sign in
to comment