remove some commented code

This commit is contained in:
Folkert 2022-12-20 16:46:45 +01:00
parent 12ec3189c8
commit 7536a5b8b0
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -473,17 +473,6 @@ pub(crate) fn run_low_level<'a, 'ctx, 'env>(
use roc_target::OperatingSystem::*;
match env.target_info.operating_system {
Windows => {
// // we have to go digging to find the return type
// let function = env
// .module
// .get_function(bitcode::STR_GET_SCALAR_UNSAFE)
// .unwrap();
//
// let old_return_type = function.get_type().get_param_types()[0]
// .into_pointer_type()
// .get_element_type()
// .into_struct_type();
let return_type = env.context.struct_type(
&[env.ptr_int().into(), env.context.i32_type().into()],
false,