Skip to content

Commit 46920e0

Browse files
committed
Remove hack now that stage0 doesn't use it.
1 parent a4663d2 commit 46920e0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rt/main.ll.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ declare i32 @rust_start(i32, i32, i32, i32)
1616

1717
%task = type { i32, i32, i32, i32, i32, i32, i32, i32 }
1818

19-
@_rust_fetch_this_object_hack = global i32 0
20-
2119
define i32 @"MAIN"(i32, i32) {
2220
%3 = tail call i32 @rust_start(i32 ptrtoint (void (i1*, %task*, %2*, %5*)* @_rust_main to i32), i32 %0, i32 %1, i32 ptrtoint (%0* @_rust_crate_map_toplevel to i32))
2321
ret i32 %3

0 commit comments

Comments
 (0)