Skip to content

Commit 1c784cc

Browse files
committed
---
yaml --- r: 4767 b: refs/heads/master c: 1d7ca9c h: refs/heads/master i: 4765: 7d429b9 4763: c2e1536 4759: 10cabc2 4751: 4c8223f 4735: e82535e v: v3
1 parent 3b7078e commit 1c784cc

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
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: 556de425b3824933c73e6e9badb74079341de7c8
2+
refs/heads/master: 1d7ca9c1897260c30ba236652c2043e670577fe4

trunk/src/comp/back/upcall.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ type upcalls =
4545
ivec_resize_shared: ValueRef,
4646
ivec_spill_shared: ValueRef,
4747
cmp_type: ValueRef,
48-
log_type: ValueRef};
48+
log_type: ValueRef,
49+
dynastack_mark: ValueRef,
50+
dynastack_alloc: ValueRef,
51+
dynastack_free: ValueRef};
4952

5053
fn declare_upcalls(tn: type_names, tydesc_type: TypeRef,
5154
taskptr_type: TypeRef, llmod: ModuleRef) -> @upcalls {
@@ -111,7 +114,13 @@ fn declare_upcalls(tn: type_names, tydesc_type: TypeRef,
111114
log_type:
112115
dr("log_type", ~[taskptr_type, T_ptr(tydesc_type),
113116
T_ptr(T_i8()), T_i32()],
114-
T_void())};
117+
T_void()),
118+
dynastack_mark:
119+
d("dynastack_mark", ~[], T_ptr(T_i8())),
120+
dynastack_alloc:
121+
d("dynastack_alloc", ~[T_size_t()], T_ptr(T_i8())),
122+
dynastack_free:
123+
d("dynastack_free", ~[T_ptr(T_i8())], T_void())};
115124
}
116125
//
117126
// Local Variables:

0 commit comments

Comments
 (0)