Commit ac4fc548 authored by Boxiang Sun's avatar Boxiang Sun

code size fixing

parent 131e015f
......@@ -1221,6 +1221,10 @@ public:
assert(takes_varargs || !param_names.has_vararg_name);
assert(takes_kwargs || !param_names.has_kwarg_name);
printf("**********Get output************\n");
printf("%zu\n", sizeof(BoxedCode));
printf("%zu\n", sizeof(CodeConstants));
printf("%zu\n", code_cls->tp_basicsize);
BoxedCode* code = new BoxedCode(nargs, takes_varargs, takes_kwargs, name, doc, param_names);
code->addVersion(f, rtn_type, exception_style);
return code;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment