|
37 | 37 |
|
38 | 38 |
|
39 | 39 | #define DEFAULT_BLOCK_SIZE 16 |
40 | | -#define DEFAULT_BLOCKS 8 |
41 | 40 | #define DEFAULT_CODE_SIZE 128 |
42 | 41 | #define DEFAULT_LNOTAB_SIZE 16 |
43 | 42 | #define DEFAULT_CNOTAB_SIZE 32 |
@@ -1472,13 +1471,6 @@ compiler_addop_j_noline(struct compiler *c, int opcode, basicblock *b) |
1472 | 1471 | Py_DECREF(__new_const); \ |
1473 | 1472 | } |
1474 | 1473 |
|
1475 | | -#define ADDOP_O(C, OP, O, TYPE) { \ |
1476 | | - assert(!HAS_CONST(OP)); /* use ADDOP_LOAD_CONST */ \ |
1477 | | - if (!compiler_addop_o((C), (OP), (C)->u->u_ ## TYPE, (O))) \ |
1478 | | - return 0; \ |
1479 | | -} |
1480 | | - |
1481 | | -/* Same as ADDOP_O, but steals a reference. */ |
1482 | 1474 | #define ADDOP_N(C, OP, O, TYPE) { \ |
1483 | 1475 | assert(!HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */ \ |
1484 | 1476 | if (!compiler_addop_o((C), (OP), (C)->u->u_ ## TYPE, (O))) { \ |
@@ -1552,11 +1544,6 @@ compiler_addop_j_noline(struct compiler *c, int opcode, basicblock *b) |
1552 | 1544 | } \ |
1553 | 1545 | } |
1554 | 1546 |
|
1555 | | -#define VISIT_SLICE(C, V, CTX) {\ |
1556 | | - if (!compiler_visit_slice((C), (V), (CTX))) \ |
1557 | | - return 0; \ |
1558 | | -} |
1559 | | - |
1560 | 1547 | #define VISIT_SEQ(C, TYPE, SEQ) { \ |
1561 | 1548 | int _i; \ |
1562 | 1549 | asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \ |
|
0 commit comments