|
Revert "Revert of [builtins] Properly optimize TypedArray/DataView accessors. (patchset #3 id:40001 of https://codereview.chromium.org/2042013003/ )"
This reverts commit d3a43e47dd740c9010b39e6e765f624696ce3b56.
This patch also adds typed_array_fun and typed_array_protoype to the
native context. These are used in InstallTypedArray to set up the
prototype chain correctly for each typed array sub class. This removes
the need to later monkey patch them prototype chain in typedarray.js.
This mechanism is also used to get hold of the TypedArray in
typedarray.js, removing the need for a global TypedArray.
This patch updates CallRuntime.golden to account for the two extra
native runtime calls. This patch also fixes some formatting issues (by
running git cl format).
BUG= chromium:579905, chromium:593634, v8:4085, v8:5073
Committed: https://crrev.com/3c927e07b022e31732e81610446714501474789d
Cr-Commit-Position: refs/heads/master@{#36811}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+385 lines, -234 lines) |
Patch |
|
M |
src/bootstrapper.cc
|
View
|
1
|
6 chunks |
+110 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/builtins.h
|
View
|
|
4 chunks |
+36 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/builtins.cc
|
View
|
|
1 chunk |
+113 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.h
|
View
|
|
2 chunks |
+0 lines, -26 lines |
0 comments
|
Download
|
|
M |
src/code-stubs-hydrogen.cc
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/compiler/access-info.h
|
View
|
1
|
5 chunks |
+1 line, -15 lines |
0 comments
|
Download
|
|
M |
src/compiler/access-info.cc
|
View
|
1
|
4 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-native-context-specialization.cc
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/counters.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.h
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.cc
|
View
|
|
14 chunks |
+74 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/heap-symbols.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/ic/handler-compiler.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/js/typedarray.js
|
View
|
1
|
6 chunks |
+12 lines, -91 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-typedarray.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/bytecode_expectations/CallRuntime.golden
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 20 (11 generated)
|