diff options
author | Mark Shannon <mark@hotpy.org> | 2022-01-28 12:42:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-28 12:42:30 (GMT) |
commit | 89fd7c34520aac493a8784a221366ed04452612b (patch) | |
tree | da2dd6dfe862b1351063e2c0ee2a3564c4773416 /Programs | |
parent | 5a9e423473bf2c4eb32a0982e8d73420875db1da (diff) | |
download | cpython-89fd7c34520aac493a8784a221366ed04452612b.zip cpython-89fd7c34520aac493a8784a221366ed04452612b.tar.gz cpython-89fd7c34520aac493a8784a221366ed04452612b.tar.bz2 |
bpo-46329: Split calls into precall and call instructions. (GH-30855)
* Add PRECALL_FUNCTION opcode.
* Move 'call shape' varaibles into struct.
* Replace CALL_NO_KW and CALL_KW with KW_NAMES and CALL instructions.
* Specialize for builtin methods taking using the METH_FASTCALL | METH_KEYWORDS protocol.
* Allow kwnames for specialized calls to builtin types.
* Specialize calls to tuple(arg) and str(arg).
Diffstat (limited to 'Programs')
-rw-r--r-- | Programs/test_frozenmain.h | 59 |
1 files changed, 30 insertions, 29 deletions
diff --git a/Programs/test_frozenmain.h b/Programs/test_frozenmain.h index 4052fc6..00f36ff 100644 --- a/Programs/test_frozenmain.h +++ b/Programs/test_frozenmain.h @@ -1,35 +1,36 @@ // 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,7,0,0, - 0,0,0,0,0,115,88,0,0,0,151,0,100,0,100,1, + 0,0,0,0,0,115,96,0,0,0,151,0,100,0,100,1, 108,0,90,0,100,0,100,1,108,1,90,1,101,2,100,2, - 169,1,1,0,101,2,100,3,101,0,106,3,169,2,1,0, - 101,1,106,4,169,0,100,4,25,0,90,5,100,5,68,0, - 93,14,90,6,101,2,100,6,101,6,155,0,100,7,101,5, - 101,6,25,0,155,0,157,4,169,1,1,0,113,27,100,1, - 83,0,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,90,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,90,15,117,115, - 101,95,101,110,118,105,114,111,110,109,101,110,116,90,17,99, - 111,110,102,105,103,117,114,101,95,99,95,115,116,100,105,111, - 90,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,90,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,90,11,103,101,116,95,99,111,110,102,105,103, - 115,114,2,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,218,8,60,109,111,100,117,108,101,62, - 114,11,0,0,0,1,0,0,0,115,18,0,0,0,2,128, - 8,3,8,1,8,2,12,1,12,1,8,1,26,7,4,249, - 115,20,0,0,0,2,128,8,3,8,1,8,2,12,1,12, - 1,2,7,4,1,2,249,30,7,115,88,0,0,0,0,0, - 1,11,1,11,1,11,1,11,1,25,1,25,1,25,1,25, - 1,6,7,27,1,28,1,28,1,6,7,17,19,22,19,27, - 1,28,1,28,10,27,10,39,10,41,42,50,10,51,1,7, - 12,2,1,42,1,42,5,8,5,10,11,41,21,24,11,41, - 11,41,28,34,35,38,28,39,11,41,11,41,5,42,5,42, + 167,1,171,0,1,0,101,2,100,3,101,0,106,3,167,2, + 171,0,1,0,101,1,106,4,167,0,171,0,100,4,25,0, + 90,5,100,5,68,0,93,15,90,6,101,2,100,6,101,6, + 155,0,100,7,101,5,101,6,25,0,155,0,157,4,167,1, + 171,0,1,0,113,30,100,1,83,0,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,90,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,90,15,117,115,101,95,101,110,118,105,114,111, + 110,109,101,110,116,90,17,99,111,110,102,105,103,117,114,101, + 95,99,95,115,116,100,105,111,90,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,90,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,90,11,103,101, + 116,95,99,111,110,102,105,103,115,114,2,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,218,8, + 60,109,111,100,117,108,101,62,114,11,0,0,0,1,0,0, + 0,115,18,0,0,0,2,128,8,3,8,1,10,2,14,1, + 14,1,8,1,28,7,4,249,115,20,0,0,0,2,128,8, + 3,8,1,10,2,14,1,14,1,2,7,4,1,2,249,32, + 7,115,96,0,0,0,0,0,1,11,1,11,1,11,1,11, + 1,25,1,25,1,25,1,25,1,6,7,27,1,28,1,28, + 1,28,1,6,7,17,19,22,19,27,1,28,1,28,1,28, + 10,27,10,39,10,41,10,41,42,50,10,51,1,7,12,2, + 1,42,1,42,5,8,5,10,11,41,21,24,11,41,11,41, + 28,34,35,38,28,39,11,41,11,41,5,42,5,42,5,42, 5,42,1,42,1,42,114,9,0,0,0, }; |