File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -891,18 +891,18 @@ static const auto jlegalx_func = new JuliaFunction{
891891};
892892#ifdef JL_DISPATCH_LOG_BOXES
893893static const auto jllogboxinput_func = new JuliaFunction{
894- XSTR (jl_log_box_input),
895- [](LLVMContext &C) {
896- return FunctionType::get (getVoidTy (C), {getSizeTy (C)}, false );
897- },
898- nullptr ,
894+ XSTR (jl_log_box_input),
895+ [](LLVMContext &C) {
896+ return FunctionType::get (getVoidTy (C), {getInt32Ty (C)}, false );
897+ },
898+ nullptr ,
899899};
900900static const auto jllogboxreturn_func = new JuliaFunction{
901- XSTR (jl_log_box_return),
902- [](LLVMContext &C) {
903- return FunctionType::get (getVoidTy (C), {getSizeTy (C)}, false );
904- },
905- nullptr ,
901+ XSTR (jl_log_box_return),
902+ [](LLVMContext &C) {
903+ return FunctionType::get (getVoidTy (C), {getInt32Ty (C)}, false );
904+ },
905+ nullptr ,
906906};
907907#endif
908908static const auto jl_alloc_obj_func = new JuliaFunction{
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ JL_DLLEXPORT void jl_set_extra_allocs_rate(float rate)
125125}
126126
127127#ifdef JL_DISPATCH_LOG_BOXES
128- JL_DLLEXPORT void jl_log_box_input (size_t sz)
128+ JL_DLLEXPORT void jl_log_box_input (int32_t sz)
129129{
130130 num_boxed_inputs++;
131131 boxed_inputs_size += sz;
@@ -155,7 +155,7 @@ JL_DLLEXPORT void jl_log_box_input(size_t sz)
155155 }
156156 }
157157}
158- JL_DLLEXPORT void jl_log_box_return (size_t sz)
158+ JL_DLLEXPORT void jl_log_box_return (int32_t sz)
159159{
160160 num_boxed_returns++;
161161 boxed_returns_size += sz;
You can’t perform that action at this time.
0 commit comments