about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-10-03 03:59:58 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-10-03 03:59:58 -0400
commit249b356fb3dba0998dbaef34980c9dd1c1e42f48 (patch)
tree1d420eda4ec349601fd56a5a1238fe40ac9d7f7e /src/rt/sync/rust_thread.cpp
parentccd9a963f75074da506c05fece1e3c965e742c51 (diff)
downloadrust-249b356fb3dba0998dbaef34980c9dd1c1e42f48.tar.gz
rust-249b356fb3dba0998dbaef34980c9dd1c1e42f48.zip
make unit structs immediate
    struct Foo;
    fn foo() -> Foo { Foo }

Before:

    ; Function Attrs: nounwind readnone uwtable
    define void @_ZN3foo18he8ca29755dedebbaf4v0.0E(%struct.Foo* noalias nocapture sret, { i64, %tydesc*, i8*, i8*, i8 }* nocapture) #0 {
    "function top level":
      ret void
    }

After:

    ; Function Attrs: nounwind readnone uwtable
    define %struct.Foo @_ZN3foo18he8ca29755dedebbaf4v0.0E({ i64, %tydesc*, i8*, i8*, i8 }* nocapture readnone) #0 {
    "function top level":
      ret %struct.Foo undef
    }
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions