|
[runtime] Migrate several Date builtins to C++.
Almost all of the Date builtins always call into C++ at least once
anyway, so parsing, compiling and executing the JavaScript wrappers
is just a waste of time. The most important part here is the Date
constructor itself, which is one of the blockers for new.target in
TurboFan, because compiling the Date constructor takes too much time
with TurboFan (for no reason since we end up in C++ anway).
R=cbruni@chromium.org
Committed: https://crrev.com/065e9c536f14b3d7cb4d140c6f74e024e31ee1a2
Cr-Commit-Position: refs/heads/master@{#33109}
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+527 lines, -351 lines) |
Patch |
|
M |
src/api.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
|
2 chunks |
+28 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/builtins.h
|
View
|
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
src/builtins.cc
|
View
|
1
|
3 chunks |
+387 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/date.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/date.cc
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/execution.h
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/execution.cc
|
View
|
|
2 chunks |
+0 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/js/date.js
|
View
|
|
8 chunks |
+0 lines, -193 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
2 chunks |
+60 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-date.cc
|
View
|
|
3 chunks |
+2 lines, -66 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-i18n.cc
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-object.cc
|
View
|
|
1 chunk |
+6 lines, -37 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/stack-traces.js
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/stack-traces-2.js
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 10 (3 generated)
|