|
[strong] Disallow implicit conversions for binary arithmetic operations
Implements the strong mode proposal's restrictions on
implicit conversions for binary arithmetic operations, not
including the + special case. Adds some infrastructure
for future implementation of the restrictions for other
operators.
BUG= v8:3956
LOG=N
Committed: https://crrev.com/ae7ce701aef2356424bb35ace91cd0ca595fe047
Cr-Commit-Position: refs/heads/master@{#28045}
Total comments: 41
Total comments: 4
Total comments: 4
Total comments: 2
Total comments: 4
Total comments: 21
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+815 lines, -346 lines) |
Patch |
|
M |
src/arm/full-codegen-arm.cc
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/arm64/full-codegen-arm64.cc
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/arm64/lithium-codegen-arm64.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/builtins.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/code-factory.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/code-factory.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.h
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/ast-graph-builder.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+21 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-generic-lowering.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+51 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-typed-lowering.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
|
5 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ia32/full-codegen-ia32.cc
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ic/ic.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ic/ic.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+33 lines, -38 lines |
2 comments
|
Download
|
|
M |
src/ic/ic-state.h
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -5 lines |
1 comment
|
Download
|
|
M |
src/ic/ic-state.cc
|
View
|
1
2
3
4
|
4 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/messages.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/mips/full-codegen-mips.cc
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-codegen-mips.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/mips64/full-codegen-mips64.cc
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/mips64/lithium-codegen-mips64.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ppc/full-codegen-ppc.cc
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ppc/lithium-codegen-ppc.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/runtime.js
|
View
|
1
2
3
4
|
4 chunks |
+35 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/full-codegen-x64.cc
|
View
|
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/x87/full-codegen-x87.cc
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/x87/lithium-codegen-x87.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-js-context-specialization.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-js-typed-lowering.cc
|
View
|
1
2
3
4
5
6
7
8
|
25 chunks |
+112 lines, -79 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/strong/implicit-conversions.js
|
View
|
1
2
3
4
|
1 chunk |
+164 lines, -0 lines |
16 comments
|
Download
|
|
M |
test/unittests/compiler/js-operator-unittest.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+140 lines, -45 lines |
2 comments
|
Download
|
|
M |
test/unittests/compiler/js-typed-lowering-unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+22 lines, -13 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/scheduler-unittest.cc
|
View
|
1
2
3
|
22 chunks |
+28 lines, -28 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/typer-unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+68 lines, -29 lines |
0 comments
|
Download
|
Total messages: 36 (15 generated)
|