Commit 2c78fd5
committed
AK: Remove unused Checked<T> code
We could never hit the #else branches for some of these methods, because
we already relied on having __builtin_*_overflow() readily available in
earlier methods.
multiplication_would_overflow() with three arguments was only used in a
test, so let's get rid of that as well.1 parent f49cf75 commit 2c78fd5
2 files changed
+3
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | 354 | | |
360 | 355 | | |
361 | 356 | | |
| |||
364 | 359 | | |
365 | 360 | | |
366 | 361 | | |
367 | | - | |
| 362 | + | |
368 | 363 | | |
369 | 364 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | 365 | | |
376 | 366 | | |
377 | 367 | | |
| |||
404 | 394 | | |
405 | 395 | | |
406 | 396 | | |
407 | | - | |
| 397 | + | |
408 | 398 | | |
409 | 399 | | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | 400 | | |
416 | 401 | | |
417 | 402 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | 403 | | |
429 | 404 | | |
430 | 405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
378 | 377 | | |
379 | 378 | | |
380 | 379 | | |
| |||
0 commit comments