This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit c67b9f2
[compiler] Fix EmitTestAndCall for a complete call of a Smi method.
In rare circumstances we can generate a complete monomorphic
PolymorphicInstanceCall targeting a method of Smi class.
In this case we don't need to check anything - we can simply emit a
static call.
Fixes dart-lang/sdk#37019
Change-Id: I6a0d0f30e191d887eb57bc00b868526b84f5083d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/103807
Commit-Queue: Vyacheslav Egorov <[email protected]>
Commit-Queue: Daco Harkes <[email protected]>
Auto-Submit: Vyacheslav Egorov <[email protected]>
Reviewed-by: Daco Harkes <[email protected]>1 parent b3a06c1 commit c67b9f2
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2105 | 2105 | | |
2106 | 2106 | | |
2107 | 2107 | | |
| 2108 | + | |
2108 | 2109 | | |
2109 | 2110 | | |
2110 | 2111 | | |
| |||
2139 | 2140 | | |
2140 | 2141 | | |
2141 | 2142 | | |
2142 | | - | |
2143 | | - | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
2144 | 2147 | | |
2145 | 2148 | | |
2146 | 2149 | | |
| |||
0 commit comments