|
[builtins] Introduce a proper BUILTIN frame type.
This adds a new BUILTIN frame type, which supports variable number of
arguments for builtins implemented in hand-written native code (we will
extend this mechanism to TurboFan builtins at some point). Convert the
Math.max and Math.min builtins to construct a BUILTIN frame if required.
This does not yet work for C++ builtins, but that'll be the next step.
R=bmeurer@chromium.org, jarin@chromium.org
BUG= v8:4815
LOG=n
Committed: https://crrev.com/f47b9e981035c887bda5ae66203e458eb37a5a65
Cr-Commit-Position: refs/heads/master@{#37051}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+178 lines, -70 lines) |
Patch |
|
M |
src/arm/builtins-arm.cc
|
View
|
|
4 chunks |
+19 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/arm64/builtins-arm64.cc
|
View
|
|
4 chunks |
+22 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/frames.h
|
View
|
|
5 chunks |
+34 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/frames.cc
|
View
|
|
4 chunks |
+18 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/frames-inl.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/builtins-ia32.cc
|
View
|
|
4 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/mips/builtins-mips.cc
|
View
|
1
|
4 chunks |
+20 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/mips64/builtins-mips64.cc
|
View
|
|
4 chunks |
+20 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/x64/builtins-x64.cc
|
View
|
|
4 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
A |
test/mjsunit/regress/regress-4815.js
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 16 (7 generated)
|