Merge pull request #5351 from roc-lang/mono_tests_update

fixed mono tests
This commit is contained in:
Anton-4 2023-05-01 13:59:17 +02:00 committed by GitHub
commit 1cc379ba00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View File

@ -6,6 +6,7 @@ zig-cache
*.rs.bk
*.o
*.so
*.so.*
*.obj
*.dll
*.dylib
@ -80,4 +81,4 @@ www/src/roc-tutorial
# This remove unneccessary lock file versioning.
# It also ensures the compiler can always pull in 1 version of things and doesn't get restricted by sub lockfiles.
/**/Cargo.lock
!/Cargo.lock
!/Cargo.lock

View File

@ -539,7 +539,7 @@ impl X64_64SystemVStoreArgs {
type ASM = X86_64Assembler;
let tmp_reg = Self::GENERAL_RETURN_REGS[0];
let stack_offset = self.tmp_stack_offset as i32;
let stack_offset = self.tmp_stack_offset;
let mut copied = 0;
let (base_offset, size) = storage_manager.stack_offset_and_size(&sym);

View File

@ -13,8 +13,8 @@ procedure Test.2 (Test.19):
ret Test.14;
else
let Test.5 : [<rnu><null>, C *self] = UnionAtIndex (Id 0) (Index 0) Test.7;
let #Derived_gen.1 : Int1 = lowlevel RefCountIsUnique Test.7;
if #Derived_gen.1 then
let #Derived_gen.2 : Int1 = lowlevel RefCountIsUnique Test.7;
if #Derived_gen.2 then
decref Test.7;
jump Test.13 Test.5;
else