Fix Python builtin binaryfunc slots when using -O
Code did not compile - recent regression due to 848628
This commit is contained in:
parent
96fae38be2
commit
d29fc38d1c
1 changed files with 2 additions and 0 deletions
|
|
@ -3339,6 +3339,8 @@ public:
|
||||||
Printf(builtin_closures_code, "%s /* defines %s */\n\n", closure_decl, closure_name);
|
Printf(builtin_closures_code, "%s /* defines %s */\n\n", closure_decl, closure_name);
|
||||||
SetFlag(builtin_closures, closure_name);
|
SetFlag(builtin_closures, closure_name);
|
||||||
Delete(closure_decl);
|
Delete(closure_decl);
|
||||||
|
} else {
|
||||||
|
closure_name = Copy(wrapper_name);
|
||||||
}
|
}
|
||||||
if (func_type) {
|
if (func_type) {
|
||||||
String *s = NewStringf("(%s) %s", func_type, closure_name);
|
String *s = NewStringf("(%s) %s", func_type, closure_name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue