|
Collect type feedback on result of Math.[round|ceil|floor]
By recording invocations of these builtins that can return -0, we now learn to not emit Crankshaft code that only handles integer results, avoiding deopt loops.
Committed: https://crrev.com/f36ecaf3a4d61568ca50a20718acce7dd5da9a5f
Cr-Commit-Position: refs/heads/master@{#28215}
Total comments: 8
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1570 lines, -120 lines) |
Patch |
|
M |
src/arm/code-stubs-arm.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+187 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/code-stubs-arm64.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+183 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/macro-assembler-arm64.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/macro-assembler-arm64.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/assembler.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/assembler.cc
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ast.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
src/code-stubs.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+80 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+56 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+179 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/macro-assembler-ia32.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ic/ic.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+43 lines, -1 line |
0 comments
|
Download
|
|
M |
src/math.js
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/mips/code-stubs-mips.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+175 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips/macro-assembler-mips.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips/macro-assembler-mips.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips64/code-stubs-mips64.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+175 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips64/macro-assembler-mips64.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips64/macro-assembler-mips64.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/snapshot/serialize.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/type-feedback-vector.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/type-feedback-vector.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
src/type-info.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/type-info.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/typing.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/x64/code-stubs-x64.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+181 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A + |
test/mjsunit/math-ceil-minus-zero.js
|
View
|
1
2
3
4
|
1 chunk |
+43 lines, -48 lines |
0 comments
|
Download
|
|
A + |
test/mjsunit/math-floor-minus-zero.js
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+43 lines, -48 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/math-round-minus-zero.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+76 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (4 generated)
|