Skip to content

Commit ab00ff4

Browse files
committed
gh-131798: Add JIT path for _BUILD_STRING
Signed-off-by: Manjusaka <[email protected]>
1 parent 11ea46e commit ab00ff4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Python/optimizer_bytecodes.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -919,16 +919,6 @@ dummy_func(void) {
919919
tup = sym_new_tuple(ctx, oparg, values);
920920
}
921921

922-
op(_BUILD_SLICE, (values[oparg] -- slice)) {
923-
if (sym_is_const(ctx, values[oparg])) {
924-
PyObject *val = sym_get_const(ctx, values[oparg]);
925-
slice = sym_new_const(ctx, val);
926-
Py_DecRef(val);
927-
}
928-
else {
929-
slice = sym_new_type(ctx, &PySlice_Type);
930-
}
931-
}
932922
op(_BUILD_STRING, (values[oparg] -- str)) {
933923
if (sym_is_const(ctx, values[oparg])) {
934924
PyObject *val = sym_get_const(ctx, values[oparg]);

0 commit comments

Comments
 (0)