diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-09-27 18:42:06 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-09-28 10:22:02 -0700 |
| commit | dbf472b0df9426da1610e328a3e505fe4dc9de11 (patch) | |
| tree | 8121babb2ef6e4938be7a2e5d4e5dd9be6c74082 /src/rt | |
| parent | 512cfb4b8387a6919c06d7e01401c53c6ab7dd1c (diff) | |
| download | rust-dbf472b0df9426da1610e328a3e505fe4dc9de11.tar.gz rust-dbf472b0df9426da1610e328a3e505fe4dc9de11.zip | |
rustc: Switch to cdecl for all calls. This is needed to make stack growth efficient, as I need to use eax and ecx in the function prologue and can't afford to stomp on incoming arguments.
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/main.ll.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/main.ll.in b/src/rt/main.ll.in index 739e0530de5..6b0454cc31f 100644 --- a/src/rt/main.ll.in +++ b/src/rt/main.ll.in @@ -29,7 +29,7 @@ define void @_rust_main_wrap(i1* nocapture, %task *, %2* nocapture, %vec *) define void @_rust_spawn_wrap( i1* nocapture, %task*, %2* nocapture, %nullary_fn* %f) { - call fastcc void %f(i1* %0, %task *%1, %2* nocapture %2) + call void %f(i1* %0, %task *%1, %2* nocapture %2) ret void } |
