Repository navigation
Commit 9beaff6
committed
src: set function names in SetFastMethod helpers
SetMethodFromTemplate() only set the function name when asked to, and
the SetFastMethod() and SetFastMethodNoSideEffect() overloads that
install a function on an object did not ask. Functions registered
through them had an empty name, which is visible in util.types since
its predicates became fast API calls.
Always set the name, as SetMethod() and SetMethodNoSideEffect() already
did, and drop the now unused parameter.
Fixes: #67826
Signed-off-by: Yohannes Desta <yohannesdestagebru10@gmail.com>1 parent 68fad2c commit 9beaff6
2 files changed
Lines changed: 22 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | | - | |
| 374 | + | |
376 | 375 | | |
377 | 376 | | |
378 | 377 | | |
379 | 378 | | |
380 | | - | |
381 | | - | |
382 | | - | |
| 379 | + | |
383 | 380 | | |
384 | 381 | | |
385 | 382 | | |
| |||
403 | 400 | | |
404 | 401 | | |
405 | 402 | | |
406 | | - | |
407 | | - | |
| 403 | + | |
408 | 404 | | |
409 | 405 | | |
410 | 406 | | |
| |||
438 | 434 | | |
439 | 435 | | |
440 | 436 | | |
441 | | - | |
442 | | - | |
| 437 | + | |
443 | 438 | | |
444 | 439 | | |
445 | 440 | | |
| |||
453 | 448 | | |
454 | 449 | | |
455 | 450 | | |
456 | | - | |
457 | | - | |
| 451 | + | |
458 | 452 | | |
459 | 453 | | |
460 | 454 | | |
| |||
502 | 496 | | |
503 | 497 | | |
504 | 498 | | |
505 | | - | |
506 | | - | |
| 499 | + | |
507 | 500 | | |
508 | 501 | | |
509 | 502 | | |
| |||
515 | 508 | | |
516 | 509 | | |
517 | 510 | | |
518 | | - | |
519 | | - | |
| 511 | + | |
520 | 512 | | |
521 | 513 | | |
522 | 514 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments