Skip to content

Commit 2ab1aa2

Browse files
committed
fix native benchmarks on pypy
1 parent 5fc1798 commit 2ab1aa2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

graalpython/benchmarks/src/micro/c-issubtype-monorphic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
0,
7676
0,
7777
Py_TPFLAGS_DEFAULT,
78-
"",
78+
0,
7979
0, /* tp_traverse */
8080
0, /* tp_clear */
8181
0, /* tp_richcompare */
@@ -99,7 +99,7 @@
9999
static PyModuleDef c_classmethod_module = {
100100
PyModuleDef_HEAD_INIT,
101101
"c_classmethod_module",
102-
"",
102+
0,
103103
-1,
104104
NULL, NULL, NULL, NULL, NULL
105105
};

graalpython/benchmarks/src/micro/c-issubtype-polymorphic-forced-to-native.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
0,
8080
0,
8181
Py_TPFLAGS_DEFAULT,
82-
"",
82+
0,
8383
0, /* tp_traverse */
8484
0, /* tp_clear */
8585
0, /* tp_richcompare */
@@ -103,7 +103,7 @@
103103
static PyModuleDef c_classmethod_module = {
104104
PyModuleDef_HEAD_INIT,
105105
"c_classmethod_module",
106-
"",
106+
0,
107107
-1,
108108
NULL, NULL, NULL, NULL, NULL
109109
};

graalpython/benchmarks/src/micro/c-issubtype-polymorphic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
0,
7777
0,
7878
Py_TPFLAGS_DEFAULT,
79-
"",
79+
0,
8080
0, /* tp_traverse */
8181
0, /* tp_clear */
8282
0, /* tp_richcompare */
@@ -100,7 +100,7 @@
100100
static PyModuleDef c_classmethod_module = {
101101
PyModuleDef_HEAD_INIT,
102102
"c_classmethod_module",
103-
"",
103+
0,
104104
-1,
105105
NULL, NULL, NULL, NULL, NULL
106106
};

0 commit comments

Comments
 (0)