diff options
| author | Graydon Hoare <[email protected]> | 2011-03-25 15:48:00 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-25 15:48:00 -0700 |
| commit | 661f1c541e86305a714ea2a27ec7b40ca241aa01 (patch) | |
| tree | f6a87a5c08b43cdb27d03c0dab57940153ecc5fa /src/comp/back/abi.rs | |
| parent | Another go at changing compile-command, this time using RBUILD env var. (diff) | |
| download | rust-661f1c541e86305a714ea2a27ec7b40ca241aa01.tar.xz rust-661f1c541e86305a714ea2a27ec7b40ca241aa01.zip | |
Trans nomenclature tidy-up: upcall vs. native vs. extern.
Diffstat (limited to 'src/comp/back/abi.rs')
| -rw-r--r-- | src/comp/back/abi.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs index 836969ef..95958814 100644 --- a/src/comp/back/abi.rs +++ b/src/comp/back/abi.rs @@ -58,7 +58,7 @@ const int closure_elt_ty_params = 3; const int worst_case_glue_call_args = 7; -const int n_upcall_glues = 7; +const int n_native_glues = 7; const int abi_x86_rustboot_cdecl = 1; const int abi_x86_rustc_fastcall = 2; @@ -75,11 +75,11 @@ fn vec_append_glue_name() -> str { ret "rust_vec_append_glue"; } -fn upcall_glue_name(int n, bool pass_task) -> str { +fn native_glue_name(int n, bool pass_task) -> str { if (pass_task) { - ret "rust_upcall_rust_" + util.common.istr(n); + ret "rust_native_rust_" + util.common.istr(n); } - ret "rust_upcall_cdecl_" + util.common.istr(n); + ret "rust_native_cdecl_" + util.common.istr(n); } fn activate_glue_name() -> str { |