mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
GH-112354: END_FOR
instruction to only pop one value. (GH-114247)
* Compiler emits END_FOR; POP_TOP instead of END_FOR. To support tier 2 side exits in loops.
This commit is contained in:
parent
6fadd68da5
commit
981d172f7f
16 changed files with 238 additions and 184 deletions
50
Programs/test_frozenmain.h
generated
50
Programs/test_frozenmain.h
generated
|
@ -1,7 +1,7 @@
|
|||
// Auto-generated by Programs/freeze_test_frozenmain.py
|
||||
unsigned char M_test_frozenmain[] = {
|
||||
227,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,
|
||||
0,0,0,0,0,243,164,0,0,0,149,0,83,0,83,1,
|
||||
0,0,0,0,0,243,166,0,0,0,149,0,83,0,83,1,
|
||||
75,0,114,0,83,0,83,1,75,1,114,1,92,2,34,0,
|
||||
83,2,53,1,0,0,0,0,0,0,32,0,92,2,34,0,
|
||||
83,3,92,0,82,6,0,0,0,0,0,0,0,0,0,0,
|
||||
|
@ -11,28 +11,28 @@ unsigned char M_test_frozenmain[] = {
|
|||
0,0,83,4,5,0,0,0,114,5,83,5,19,0,72,20,
|
||||
0,0,114,6,92,2,34,0,83,6,92,6,14,0,83,7,
|
||||
92,5,92,6,5,0,0,0,14,0,51,4,53,1,0,0,
|
||||
0,0,0,0,32,0,77,22,0,0,11,0,103,1,41,8,
|
||||
233,0,0,0,0,78,122,18,70,114,111,122,101,110,32,72,
|
||||
101,108,108,111,32,87,111,114,108,100,122,8,115,121,115,46,
|
||||
97,114,103,118,218,6,99,111,110,102,105,103,41,5,218,12,
|
||||
112,114,111,103,114,97,109,95,110,97,109,101,218,10,101,120,
|
||||
101,99,117,116,97,98,108,101,218,15,117,115,101,95,101,110,
|
||||
118,105,114,111,110,109,101,110,116,218,17,99,111,110,102,105,
|
||||
103,117,114,101,95,99,95,115,116,100,105,111,218,14,98,117,
|
||||
102,102,101,114,101,100,95,115,116,100,105,111,122,7,99,111,
|
||||
110,102,105,103,32,122,2,58,32,41,7,218,3,115,121,115,
|
||||
218,17,95,116,101,115,116,105,110,116,101,114,110,97,108,99,
|
||||
97,112,105,218,5,112,114,105,110,116,218,4,97,114,103,118,
|
||||
218,11,103,101,116,95,99,111,110,102,105,103,115,114,3,0,
|
||||
0,0,218,3,107,101,121,169,0,243,0,0,0,0,250,18,
|
||||
116,101,115,116,95,102,114,111,122,101,110,109,97,105,110,46,
|
||||
112,121,250,8,60,109,111,100,117,108,101,62,114,18,0,0,
|
||||
0,1,0,0,0,115,99,0,0,0,240,3,1,1,1,243,
|
||||
8,0,1,11,219,0,24,225,0,5,208,6,26,212,0,27,
|
||||
217,0,5,128,106,144,35,151,40,145,40,212,0,27,216,9,
|
||||
26,215,9,38,210,9,38,211,9,40,168,24,209,9,50,128,
|
||||
6,240,2,6,12,2,242,0,7,1,42,128,67,241,14,0,
|
||||
5,10,136,71,144,67,144,53,152,2,152,54,160,35,153,59,
|
||||
152,45,208,10,40,214,4,41,241,15,7,1,42,114,16,0,
|
||||
0,0,
|
||||
0,0,0,0,32,0,77,22,0,0,11,0,32,0,103,1,
|
||||
41,8,233,0,0,0,0,78,122,18,70,114,111,122,101,110,
|
||||
32,72,101,108,108,111,32,87,111,114,108,100,122,8,115,121,
|
||||
115,46,97,114,103,118,218,6,99,111,110,102,105,103,41,5,
|
||||
218,12,112,114,111,103,114,97,109,95,110,97,109,101,218,10,
|
||||
101,120,101,99,117,116,97,98,108,101,218,15,117,115,101,95,
|
||||
101,110,118,105,114,111,110,109,101,110,116,218,17,99,111,110,
|
||||
102,105,103,117,114,101,95,99,95,115,116,100,105,111,218,14,
|
||||
98,117,102,102,101,114,101,100,95,115,116,100,105,111,122,7,
|
||||
99,111,110,102,105,103,32,122,2,58,32,41,7,218,3,115,
|
||||
121,115,218,17,95,116,101,115,116,105,110,116,101,114,110,97,
|
||||
108,99,97,112,105,218,5,112,114,105,110,116,218,4,97,114,
|
||||
103,118,218,11,103,101,116,95,99,111,110,102,105,103,115,114,
|
||||
3,0,0,0,218,3,107,101,121,169,0,243,0,0,0,0,
|
||||
250,18,116,101,115,116,95,102,114,111,122,101,110,109,97,105,
|
||||
110,46,112,121,250,8,60,109,111,100,117,108,101,62,114,18,
|
||||
0,0,0,1,0,0,0,115,99,0,0,0,240,3,1,1,
|
||||
1,243,8,0,1,11,219,0,24,225,0,5,208,6,26,212,
|
||||
0,27,217,0,5,128,106,144,35,151,40,145,40,212,0,27,
|
||||
216,9,26,215,9,38,210,9,38,211,9,40,168,24,209,9,
|
||||
50,128,6,240,2,6,12,2,242,0,7,1,42,128,67,241,
|
||||
14,0,5,10,136,71,144,67,144,53,152,2,152,54,160,35,
|
||||
153,59,152,45,208,10,40,214,4,41,242,15,7,1,42,114,
|
||||
16,0,0,0,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue