|
[--runtime-call-stats] Fix ACCESSOR handler computation
When running with FLAG_runtime_call_stats, native accessor accesses must
go through the runtime for accurate accounting. Previously the slow_stub()
was used as a handler in order to accomplish this, but it could never be
looked up from the code cache successfully due to mismatched code flags,
which could cause more handler recompilations than in normal operation.
This patch fixes that by emitting a runtime call into the compiled
handler instead of using the slow_stub().
Drive-by cleanup: drop the unused StoreIC_Megamorphic builtin.
Committed: https://crrev.com/31ca317af3c7c140143da616701ad45b7a08906e
Cr-Commit-Position: refs/heads/master@{#36926}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+39 lines, -171 lines) |
Patch |
|
M |
src/builtins.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/builtins.cc
|
View
|
1
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/counters.cc
|
View
|
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ic/arm/ic-arm.cc
|
View
|
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
|
M |
src/ic/arm64/ic-arm64.cc
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/ic/handler-compiler.cc
|
View
|
1
|
3 chunks |
+19 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ic/ia32/ic-ia32.cc
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/ic/ic.h
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ic/ic.cc
|
View
|
1
|
6 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/ic/mips/ic-mips.cc
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/ic/mips64/ic-mips64.cc
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/ic/ppc/ic-ppc.cc
|
View
|
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
|
M |
src/ic/s390/ic-s390.cc
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/ic/x64/ic-x64.cc
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/ic/x87/ic-x87.cc
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
Total messages: 13 (6 generated)
|