8000 Remove some comments · python/cpython@b13056f · GitHub
[go: up one dir, main page]

Skip to content
65FE

Commit b13056f

Browse files
committed
Remove some comments
1 parent 1a71c1a commit b13056f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Python/jit.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ patch_one(unsigned char *location, HoleKind kind, uint64_t patch)
6767
patch = ((patch >> 12) << 12) - (((uintptr_t)location >> 12) << 12);
6868
assert((*addr & 0x9F000000) == 0x90000000);
6969
assert((patch & 0xFFF) == 0);
70-
// assert((patch & ((1ULL << 33) - 1)) == patch); // XXX: This should be signed.
7170
uint32_t lo = (patch << 17) & 0x60000000;
7271
uint32_t hi = (patch >> 9) & 0x00FFFFE0;
7372
*addr = (*addr & 0x9F00001F) | hi | lo;
@@ -79,7 +78,6 @@ patch_one(unsigned char *location, HoleKind kind, uint64_t patch)
7978
assert(((*addr & 0xFC000000) == 0x14000000) ||
8079
((*addr & 0xFC000000) == 0x94000000));
8180
assert((patch & 0x3) == 0);
82-
// assert((patch & ((1ULL << 29) - 1)) == patch); // XXX: This should be signed.
8381
*addr = (*addr & 0xFC000000) | ((uint32_t)(patch >> 2) & 0x03FFFFFF);
8482
return;
8583
}

0 commit comments

Comments
 (0)
0