|
[builtin] Refactor Invoke to deal with any kind of callable.
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.
R=jarin@chromium.org
BUG= v8:4430, v8:4413
LOG=n
Committed: https://crrev.com/634d1d86d8e98584097c6cb548a68ecf705c44f7
Cr-Commit-Position: refs/heads/master@{#30874}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+345 lines, -451 lines) |
Patch |
|
M |
src/api.cc
|
View
|
|
2 chunks |
+2 lines, -23 lines |
0 comments
|
Download
|
|
M |
src/arm/builtins-arm.cc
|
View
|
|
3 chunks |
+40 lines, -36 lines |
2 comments
|
Download
|
|
M |
src/arm64/builtins-arm64.cc
|
View
|
|
3 chunks |
+40 lines, -39 lines |
0 comments
|
Download
|
|
M |
src/arm64/simulator-arm64.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/arm64/simulator-arm64.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/execution.h
|
View
|
|
2 chunks |
+3 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/execution.cc
|
View
|
|
7 chunks |
+52 lines, -149 lines |
0 comments
|
Download
|
|
M |
src/ia32/builtins-ia32.cc
|
View
|
|
3 chunks |
+34 lines, -34 lines |
0 comments
|
Download
|
|
M |
src/mips/builtins-mips.cc
|
View
|
|
3 chunks |
+45 lines, -40 lines |
0 comments
|
Download
|
|
M |
src/mips64/builtins-mips64.cc
|
View
|
|
3 chunks |
+45 lines, -39 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-classes.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-function.cc
|
View
|
|
2 chunks |
+1 line, -32 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-internal.cc
|
View
|
|
2 chunks |
+36 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/builtins-x64.cc
|
View
|
|
3 chunks |
+38 lines, -35 lines |
0 comments
|
Download
|
Total messages: 29 (15 generated)
|