aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-03-10 15:09:41 -0800
committerPatrick Walton <[email protected]>2011-03-10 15:09:41 -0800
commit185bcc62185c4ec8274ea94387629ddfae3c7f0e (patch)
tree2d05b817dfa452c75aa8322333fd825b9064bc39 /src/comp
parentrustc: Fix off-by-one error and logic error regarding type parameters in the ... (diff)
downloadrust-185bcc62185c4ec8274ea94387629ddfae3c7f0e.tar.xz
rust-185bcc62185c4ec8274ea94387629ddfae3c7f0e.zip
rustc: Increment the counter in trans_bind_thunk()
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/middle/trans.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs
index 51e8fb56..f1f42ab5 100644
--- a/src/comp/middle/trans.rs
+++ b/src/comp/middle/trans.rs
@@ -3577,7 +3577,7 @@ fn trans_bind_thunk(@crate_ctxt cx,
}
}
- outgoing_arg_index += 0u;
+ outgoing_arg_index += 1u;
}
// FIXME: turn this call + ret into a tail call.