|
[TypeFeedbackVector] special ic slots for interpreter compare/binary ops.
Full code uses patching ICs for this feedback, and the interpreter uses
the type feedback vector. It's a good idea to code the vector slots
appropriately as ICs so that the runtime profiler can better gauge if
the function is ready for tiering up from Ignition to TurboFan.
As is, the feedback is stored in "general" slots which can't be
characterized by the runtime profiler into feedback states.
This CL addresses that problem. Note that it's also important to
carefully exclude these slots from the profiler's consideration when
determining if you want to optimize from Full code.
BUG=
Committed: https://crrev.com/b88d132f4cbc4a7f4de106542ae5895079049070
Cr-Commit-Position: refs/heads/master@{#39555}
Total comments: 2
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+277 lines, -296 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.cc
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/code-stub-assembler.cc
|
View
|
1
|
1 chunk |
+7 lines, -22 lines |
0 comments
|
Download
|
|
M |
src/compiler/bytecode-graph-builder.cc
|
View
|
1
|
2 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/type-hint-analyzer.h
|
View
|
1
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
src/compiler/type-hint-analyzer.cc
|
View
|
1
|
2 chunks |
+1 line, -27 lines |
0 comments
|
Download
|
|
D |
src/compiler/type-hints.h
|
View
|
1
|
1 chunk |
+0 lines, -74 lines |
0 comments
|
Download
|
|
D |
src/compiler/type-hints.cc
|
View
|
1
|
1 chunk |
+0 lines, -93 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
1
2
3
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime-profiler.cc
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/type-feedback-vector.h
|
View
|
1
|
6 chunks |
+80 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/type-feedback-vector.cc
|
View
|
1
2
3
|
4 chunks |
+47 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/type-feedback-vector-inl.h
|
View
|
1
2
3
|
5 chunks |
+68 lines, -3 lines |
1 comment
|
Download
|
|
A + |
src/type-hints.h
|
View
|
1
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
A + |
src/type-hints.cc
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/v8.gyp
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/interpreter/test-interpreter.cc
|
View
|
1
|
16 chunks |
+37 lines, -37 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-feedback-vector.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 16 (8 generated)
|