From 46920e073b4a8da80ad895a9af149e6ff2686e0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Thu, 9 Jun 2011 14:24:50 -0400 Subject: [PATCH] Remove hack now that stage0 doesn't use it. --- src/rt/main.ll.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rt/main.ll.in b/src/rt/main.ll.in index d956fb86817..4fc22afdaa6 100644 --- a/src/rt/main.ll.in +++ b/src/rt/main.ll.in @@ -16,8 +16,6 @@ declare i32 @rust_start(i32, i32, i32, i32) %task = type { i32, i32, i32, i32, i32, i32, i32, i32 } -@_rust_fetch_this_object_hack = global i32 0 - define i32 @"MAIN"(i32, i32) { %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)) ret i32 %3