Skip to content

Commit 86b1016

Browse files
committed
---
yaml --- r: 10710 b: refs/heads/snap-stage3 c: d29e8fc h: refs/heads/master v: v3
1 parent 1748b09 commit 86b1016

File tree

3 files changed

+1
-22
lines changed

3 files changed

+1
-22
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 8910b2ff7c6fcf6bfa2192ccdfe74d29fd91f581
4+
refs/heads/snap-stage3: d29e8fc059417774d07f85b5d7f5b566715567c3
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/rt/rust_upcall.cpp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,6 @@ upcall_exchange_malloc(type_desc *td, uintptr_t size) {
177177
return args.retval;
178178
}
179179

180-
// FIXME (#2681): remove after snapshot (6/21/12)
181-
extern "C" CDECL uintptr_t
182-
upcall_exchange_malloc_dyn(type_desc *td, uintptr_t size) {
183-
rust_task *task = rust_get_current_task();
184-
s_exchange_malloc_args args = {task, 0, td, size};
185-
UPCALL_SWITCH_STACK(task, &args, upcall_s_exchange_malloc);
186-
return args.retval;
187-
}
188-
189180
struct s_exchange_free_args {
190181
rust_task *task;
191182
void *ptr;
@@ -246,16 +237,6 @@ upcall_malloc(type_desc *td, uintptr_t size) {
246237
return args.retval;
247238
}
248239

249-
// FIXME (#2681): remove after snapshot (6/21/12)
250-
extern "C" CDECL uintptr_t
251-
upcall_malloc_dyn(type_desc *td, uintptr_t size) {
252-
rust_task *task = rust_get_current_task();
253-
s_malloc_args args = {task, 0, td, size};
254-
UPCALL_SWITCH_STACK(task, &args, upcall_s_malloc);
255-
return args.retval;
256-
}
257-
258-
259240
/**********************************************************************
260241
* Called whenever an object in the task-local heap is freed.
261242
*/

branches/snap-stage3/src/rt/rustrt.def.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ upcall_trace
7272
upcall_free
7373
upcall_validate_box
7474
upcall_log_type
75-
upcall_malloc
7675
upcall_malloc_dyn
7776
upcall_rust_personality
7877
upcall_vec_grow
@@ -85,7 +84,6 @@ upcall_call_shim_on_rust_stack
8584
upcall_new_stack
8685
upcall_del_stack
8786
upcall_reset_stack_limit
88-
upcall_exchange_malloc
8987
upcall_exchange_malloc_dyn
9088
upcall_exchange_free
9189
rust_uv_loop_new

0 commit comments

Comments
 (0)