|
Reland "[es6] Better support for built-ins subclassing."
Original issue's description:
> [es6] Better support for built-ins subclassing.
>
> Create proper initial map for original constructor (new.target) instead of doing prototype
> transition on the base constructor's initial map. This approach fixes in-object slack tracking
> for subclass instances.
> This CL also fixes subclassing from String.
>
> BUG= v8:3101, v8:3330
> LOG=Y
>
> Committed: https://crrev.com/cd5f48302a502154a0106d12e3066bd563c6340c
> Cr-Commit-Position: refs/heads/master@{#31680}
It also fixes typed array map smashing done during typed array initialization.
BUG= v8:3101, v8:3330, v8:4419
LOG=Y
Committed: https://crrev.com/4490ce85205d3504dc0bf444f5e8b3deb04cbb06
Cr-Commit-Position: refs/heads/master@{#31701}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+791 lines, -146 lines) |
Patch |
|
M |
src/arm/builtins-arm.cc
|
View
|
|
4 chunks |
+33 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/arm64/builtins-arm64.cc
|
View
|
|
5 chunks |
+24 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.cc
|
View
|
1
|
2 chunks |
+0 lines, -22 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/builtins-ia32.cc
|
View
|
|
5 chunks |
+28 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/mips/builtins-mips.cc
|
View
|
|
5 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/mips64/builtins-mips64.cc
|
View
|
|
5 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
5 chunks |
+20 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
4 chunks |
+130 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
|
3 chunks |
+19 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
|
5 chunks |
+30 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-object.cc
|
View
|
|
1 chunk |
+19 lines, -34 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-typedarray.cc
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/x64/builtins-x64.cc
|
View
|
|
5 chunks |
+27 lines, -4 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/es6/classes-subclass-builtins.js
|
View
|
1
|
1 chunk |
+412 lines, -0 lines |
0 comments
|
Download
|
Total messages: 35 (19 generated)
|