|
[ic] Fix megamorphic stub cache probing on some platforms.
This CL fixes weird performance implications when changing layout of Code::flags field:
it happened that the unused ICStateField with MONOMORPHIC value in the handlers' flags
was accidentally offsetting the underflow bug in stub cache probing code on arm, arm64,
mips and mips64.
Stub cache tests now work even when snapshot is enabled.
Drive-by-change: Fixed counters manipulation on arm64 and mips64.
BUG= chromium:618701
Committed: https://crrev.com/7da34f8acb99bc513f366aaa8be23742eb30807b
Cr-Commit-Position: refs/heads/master@{#37910}
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+135 lines, -83 lines) |
Patch |
|
M |
src/arm64/macro-assembler-arm64.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ic/arm/stub-cache-arm.cc
|
View
|
1
|
3 chunks |
+10 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/ic/arm64/stub-cache-arm64.cc
|
View
|
1
|
3 chunks |
+15 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/ic/ia32/stub-cache-ia32.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ic/mips/stub-cache-mips.cc
|
View
|
1
|
3 chunks |
+10 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/ic/mips64/stub-cache-mips64.cc
|
View
|
1
|
3 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/ic/ppc/stub-cache-ppc.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ic/s390/stub-cache-s390.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ic/x87/stub-cache-x87.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/mips64/macro-assembler-mips64.cc
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-api.cc
|
View
|
|
4 chunks |
+55 lines, -13 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 29 (22 generated)
|