Skip to content

Commit 9e74374

Browse files
committed
Update code
Signed-off-by: Manjusaka <me@manjusaka.me>
1 parent 14b575f commit 9e74374

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Python/optimizer_bytecodes.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -948,14 +948,15 @@ dummy_func(void) {
948948
list = sym_new_type(ctx, &PyList_Type);
949949
}
950950

951-
op(_BUILD_MAP, (values[oparg*2] -- map)) {
952-
map = sym_new_type(ctx, &PyDict_Type);
953-
}
954951

955952
op(_BUILD_SLICE, (values[oparg] -- slice)) {
956953
slice = sym_new_type(ctx, &PySlice_Type);
957954
}
958955

956+
op(_BUILD_MAP, (values[oparg*2] -- map)) {
957+
map = sym_new_type(ctx, &PyDict_Type);
958+
}
959+
959960
op(_BUILD_STRING, (values[oparg] -- str)) {
960961
str = sym_new_type(ctx, &PyUnicode_Type);
961962
}

0 commit comments

Comments
 (0)