diff --git a/compiler/gen_dev/src/generic64/x86_64.rs b/compiler/gen_dev/src/generic64/x86_64.rs index 70ac3f2c47..2545d3fb54 100644 --- a/compiler/gen_dev/src/generic64/x86_64.rs +++ b/compiler/gen_dev/src/generic64/x86_64.rs @@ -326,7 +326,7 @@ impl CallConv for X86_64Syste tmp_stack_offset += 8; } } - Layout::Builtin(Builtin::Str) => { + Layout::Builtin(Builtin::Str | Builtin::List(_)) => { if general_i + 1 < Self::GENERAL_PARAM_REGS.len() { let (base_offset, _size) = storage_manager.stack_offset_and_size(sym); debug_assert_eq!(base_offset % 8, 0); @@ -669,7 +669,7 @@ impl CallConv for X86_64Windo tmp_stack_offset += 8; } } - Layout::Builtin(Builtin::Str) => { + Layout::Builtin(Builtin::Str | Builtin::List(_)) => { // I think this just needs to be passed on the stack, so not a huge deal. todo!("Passing str args with Windows fast call"); }