|
[runtime] Collect IC feedback in DefineDataPropertyInLiteral.
Add a feedback vector slot for computed property names in object
and class literals. Introduce new slot kind for storing
computed property names.
Change StaDataPropertyInLiteral to use the accumulator (again), so
we don't exceed Bytecodes::kMaxOperands.
We assume that most computed property names are
symbols. Therefore we should see performance
improvements, even if we deal with monomorphic ICs only.
This CL only collects feedback but does not use
it in Reduce() yet.
BUG= v8:5624
Review-Url: https://codereview.chromium.org/2587393006
Cr-Commit-Position: refs/heads/master@{#42082}
Committed: https://chromium.googlesource.com/v8/v8/+/81736c7161cf07d6baa2573d6bf5c9a1603a4dab
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+237 lines, -53 lines) |
Patch |
|
M |
src/ast/ast.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/bytecode-graph-builder.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/compiler/code-assembler.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-generic-lowering.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-native-context-specialization.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-native-context-specialization.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+24 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+35 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-array-builder.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecodes.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/interpreter/interpreter.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+11 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-object.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+17 lines, -1 line |
0 comments
|
Download
|
|
M |
src/type-feedback-vector.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/type-feedback-vector.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/type-feedback-vector-inl.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden
|
View
|
1
2
3
4
5
6
7
8
9
10
|
9 chunks |
+19 lines, -12 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden
|
View
|
1
2
3
4
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 61 (51 generated)
|