Commit a3f96bd
committed
Narrow simulated Fixnum identity to fixnum range
In CRuby, only integer values within the valid range for fixnum
tagged pointers are considered identical. JRuby considered all
Fixnum objects identical. This commit narows the JRuby identity
logic to only values within the fixnum tagged pointer range.1 parent f1ec156 commit a3f96bd
1 file changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
159 | 175 | | |
160 | 176 | | |
161 | 177 | | |
| |||
1386 | 1402 | | |
1387 | 1403 | | |
1388 | 1404 | | |
1389 | | - | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
1390 | 1408 | | |
1391 | 1409 | | |
1392 | 1410 | | |
| |||
0 commit comments