aboutsummaryrefslogtreecommitdiff
path: root/src/comp/back/abi.rs
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-09-24 14:56:04 -0700
committerGraydon Hoare <[email protected]>2010-09-24 14:56:04 -0700
commit4cfc4250bf721d5946b4f91c7b561dd57a00cc96 (patch)
tree74ddce35ffc08f66def2dccba16515414b01868d /src/comp/back/abi.rs
parentWrap long line. (diff)
downloadrust-4cfc4250bf721d5946b4f91c7b561dd57a00cc96.tar.xz
rust-4cfc4250bf721d5946b4f91c7b561dd57a00cc96.zip
More work on trans, almost getting to the point of emitting an upcall.
Diffstat (limited to 'src/comp/back/abi.rs')
-rw-r--r--src/comp/back/abi.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs
index 1a349a7b..ad4c066e 100644
--- a/src/comp/back/abi.rs
+++ b/src/comp/back/abi.rs
@@ -36,6 +36,18 @@ const int worst_case_glue_call_args = 7;
const int n_upcall_glues = 7;
+fn upcall_glue_name(int n) -> str {
+ ret "rust_upcall_" + util.common.istr(n);
+}
+
+fn activate_glue_name() -> str {
+ ret "rust_activate_glue";
+}
+
+fn yield_glue_name() -> str {
+ ret "rust_yield_glue";
+}
+
//
// Local Variables:
// mode: rust