mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
GH-105229: Replace some superinstructions with single instruction equivalent. (GH-105230)
This commit is contained in:
parent
e8ecb9ee6b
commit
0689340366
17 changed files with 731 additions and 686 deletions
|
@ -1158,8 +1158,8 @@ class TestBranchAndJumpEvents(CheckEvents):
|
|||
('line', 'func', 5),
|
||||
('line', 'meth', 1),
|
||||
('jump', 'func', 5, 5),
|
||||
('jump', 'func', 5, '[offset=114]'),
|
||||
('branch', 'func', '[offset=120]', '[offset=122]'),
|
||||
('jump', 'func', 5, '[offset=112]'),
|
||||
('branch', 'func', '[offset=118]', '[offset=120]'),
|
||||
('line', 'check_events', 11)])
|
||||
|
||||
self.check_events(func, recorders = FLOW_AND_LINE_RECORDERS, expected = [
|
||||
|
@ -1174,8 +1174,8 @@ class TestBranchAndJumpEvents(CheckEvents):
|
|||
('line', 'meth', 1),
|
||||
('return', None),
|
||||
('jump', 'func', 5, 5),
|
||||
('jump', 'func', 5, '[offset=114]'),
|
||||
('branch', 'func', '[offset=120]', '[offset=122]'),
|
||||
('jump', 'func', 5, '[offset=112]'),
|
||||
('branch', 'func', '[offset=118]', '[offset=120]'),
|
||||
('return', None),
|
||||
('line', 'check_events', 11)])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue