Skip to content

Commit 20811e1

Browse files
committed
---
yaml --- r: 5613 b: refs/heads/master c: c04efec h: refs/heads/master i: 5611: 141f8eb v: v3
1 parent 207113e commit 20811e1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 41ab324539976cadc01f3d150b976cc4d2ca9d1d
2+
refs/heads/master: c04efec87fae9b7c4c9e93243816f73802a91e56

trunk/src/comp/back/upcall.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ type upcalls =
3838
dynastack_mark: ValueRef,
3939
dynastack_alloc: ValueRef,
4040
dynastack_free: ValueRef,
41+
alloc_c_stack: ValueRef,
42+
call_c_stack: ValueRef,
4143
rust_personality: ValueRef};
4244

4345
fn declare_upcalls(_tn: type_names, tydesc_type: TypeRef,
@@ -91,6 +93,9 @@ fn declare_upcalls(_tn: type_names, tydesc_type: TypeRef,
9193
d("dynastack_alloc_2", [T_size_t(), T_ptr(tydesc_type)],
9294
T_ptr(T_i8())),
9395
dynastack_free: d("dynastack_free", [T_ptr(T_i8())], T_void()),
96+
alloc_c_stack: dr("alloc_c_stack", [T_size_t()], T_ptr(T_i8())),
97+
call_c_stack: dr("call_c_stack", [T_ptr(T_i8()), T_ptr(T_i8())],
98+
T_void()),
9499
rust_personality: dr("rust_personality", [], T_i32())
95100
};
96101
}

0 commit comments

Comments
 (0)