|
[runtime] Rewrite Function.prototype.toString in C++.
There's actually no point trying to do Function.prototype.toString in
JavaScript, as it always calls into C++ at least once, so it only
complicates things (esp. once we start optimizing bound functions).
Drive-by-fix: Rename FunctionApply and FunctionCall builtins to also
reflect the fact that these are builtins in the Function.prototype and
not on Function itself.
TBR=hpayer@chromium.org
R=yangguo@chromium.org
BUG= chromium:535408
LOG=n
Committed: https://crrev.com/4acca53e62cdfe6f3c495c87ca7d3c8fe1059f01
Cr-Commit-Position: refs/heads/master@{#32996}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+438 lines, -471 lines) |
Patch |
|
M |
src/arm/builtins-arm.cc
|
View
|
1
|
2 chunks |
+45 lines, -44 lines |
0 comments
|
Download
|
|
M |
src/arm64/builtins-arm64.cc
|
View
|
1
|
2 chunks |
+50 lines, -47 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
|
2 chunks |
+8 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/builtins.h
|
View
|
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/builtins.cc
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/debug/mirrors.js
|
View
|
|
3 chunks |
+1 line, -3 lines |
2 comments
|
Download
|
|
M |
src/elements.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/builtins-ia32.cc
|
View
|
|
2 chunks |
+48 lines, -47 lines |
0 comments
|
Download
|
|
M |
src/js/messages.js
|
View
|
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/js/prologue.js
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/js/v8natives.js
|
View
|
|
3 chunks |
+0 lines, -52 lines |
0 comments
|
Download
|
|
M |
src/mips/builtins-mips.cc
|
View
|
|
2 chunks |
+46 lines, -45 lines |
0 comments
|
Download
|
|
M |
src/mips64/builtins-mips64.cc
|
View
|
|
2 chunks |
+46 lines, -45 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/profiler/profile-generator.cc
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
|
3 chunks |
+27 lines, -32 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-classes.cc
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-function.cc
|
View
|
|
4 chunks |
+8 lines, -37 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-generator.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/x64/builtins-x64.cc
|
View
|
|
2 chunks |
+52 lines, -52 lines |
0 comments
|
Download
|
Total messages: 11 (4 generated)
|