|
Implement KeyedStoreICs to grow arrays on out-of-bound stores.
Supports growing non-COW JSArray by a single element if the backing store has room, and initial allocation of a backing store for the store to index zero of an empty array to kPreallocatedArrayElements elements (e.g. the [] array literal).
Committed: https://code.google.com/p/v8/source/detail?r=10673
Total comments: 76
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1106 lines, -187 lines) |
Patch |
|
M |
src/arm/code-stubs-arm.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/arm/codegen-arm.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+40 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/arm/stub-cache-arm.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
10 chunks |
+172 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+26 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.cc
|
View
|
|
3 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/heap.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/codegen-ia32.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+40 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/ia32/stub-cache-ia32.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+178 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/ic.h
|
View
|
1
2
3
4
5
6
7
8
|
11 chunks |
+65 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/ic.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
17 chunks |
+91 lines, -35 lines |
0 comments
|
Download
|
|
M |
src/ic-inl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/profile-generator.cc
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/stub-cache.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/stub-cache.cc
|
View
|
|
6 chunks |
+22 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/type-info.cc
|
View
|
1
2
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
src/x64/code-stubs-x64.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/x64/codegen-x64.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+41 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/x64/stub-cache-x64.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
7 chunks |
+166 lines, -15 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/array-store-and-grow.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+183 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|