Skip to content

Commit

Permalink
Fix GNUStep assembly tests
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Dec 23, 2022
1 parent 7578256 commit 457164f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ get_ascii:
lea eax, [ebx + .Lanon.[ID].0@GOTOFF]
push 3
push eax
call SYM(icrate::Foundation::additions::string::NSString::from_str::GENERATED_ID, 0)@PLT
call SYM(icrate::Foundation::additions::string::<impl icrate::Foundation::generated::__NSString::NSString>::from_str::GENERATED_ID, 0)@PLT
add esp, 16
mov ecx, eax
xchg dword ptr [ebx + SYM(test_ns_string[CRATE_ID]::get_ascii::CACHED_NSSTRING, 0).0@GOTOFF], ecx
Expand Down Expand Up @@ -56,7 +56,7 @@ get_utf16:
lea eax, [ebx + .Lanon.[ID].1@GOTOFF]
push 5
push eax
call SYM(icrate::Foundation::additions::string::NSString::from_str::GENERATED_ID, 0)@PLT
call SYM(icrate::Foundation::additions::string::<impl icrate::Foundation::generated::__NSString::NSString>::from_str::GENERATED_ID, 0)@PLT
add esp, 16
mov ecx, eax
xchg dword ptr [ebx + SYM(test_ns_string[CRATE_ID]::get_utf16::CACHED_NSSTRING, 0).0@GOTOFF], ecx
Expand Down Expand Up @@ -89,7 +89,7 @@ get_with_nul:
lea eax, [ebx + .Lanon.[ID].2@GOTOFF]
push 6
push eax
call SYM(icrate::Foundation::additions::string::NSString::from_str::GENERATED_ID, 0)@PLT
call SYM(icrate::Foundation::additions::string::<impl icrate::Foundation::generated::__NSString::NSString>::from_str::GENERATED_ID, 0)@PLT
add esp, 16
mov ecx, eax
xchg dword ptr [ebx + SYM(test_ns_string[CRATE_ID]::get_with_nul::CACHED_NSSTRING, 0).0@GOTOFF], ecx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ get_ascii:
.LBB0_1:
lea rdi, [rip + .Lanon.[ID].0]
mov esi, 3
call qword ptr [rip + SYM(icrate::Foundation::additions::string::NSString::from_str::GENERATED_ID, 0)@GOTPCREL]
call qword ptr [rip + SYM(icrate::Foundation::additions::string::<impl icrate::Foundation::generated::__NSString::NSString>::from_str::GENERATED_ID, 0)@GOTPCREL]
mov rcx, rax
xchg qword ptr [rip + SYM(test_ns_string[CRATE_ID]::get_ascii::CACHED_NSSTRING, 0).0], rcx
pop rcx
Expand All @@ -36,7 +36,7 @@ get_utf16:
.LBB1_1:
lea rdi, [rip + .Lanon.[ID].1]
mov esi, 5
call qword ptr [rip + SYM(icrate::Foundation::additions::string::NSString::from_str::GENERATED_ID, 0)@GOTPCREL]
call qword ptr [rip + SYM(icrate::Foundation::additions::string::<impl icrate::Foundation::generated::__NSString::NSString>::from_str::GENERATED_ID, 0)@GOTPCREL]
mov rcx, rax
xchg qword ptr [rip + SYM(test_ns_string[CRATE_ID]::get_utf16::CACHED_NSSTRING, 0).0], rcx
pop rcx
Expand All @@ -58,7 +58,7 @@ get_with_nul:
.LBB2_1:
lea rdi, [rip + .Lanon.[ID].2]
mov esi, 6
call qword ptr [rip + SYM(icrate::Foundation::additions::string::NSString::from_str::GENERATED_ID, 0)@GOTPCREL]
call qword ptr [rip + SYM(icrate::Foundation::additions::string::<impl icrate::Foundation::generated::__NSString::NSString>::from_str::GENERATED_ID, 0)@GOTPCREL]
mov rcx, rax
xchg qword ptr [rip + SYM(test_ns_string[CRATE_ID]::get_with_nul::CACHED_NSSTRING, 0).0], rcx
pop rcx
Expand Down

0 comments on commit 457164f

Please sign in to comment.