Skip to content

Commit abe82dc

Browse files
committed
---
yaml --- r: 36082 b: refs/heads/try2 c: 8d93216 h: refs/heads/master v: v3
1 parent ab30f7a commit abe82dc

File tree

7 files changed

+2
-260
lines changed

7 files changed

+2
-260
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: a469a3524d6f59255dd4482eb966fb4a9ec99b54
8+
refs/heads/try2: 8d932160d92137e0a7d556a5ff7cfae4e68d5781
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/mk/rt.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ RUNTIME_CS_$(1) := \
7272
rt/rust_shape.cpp \
7373
rt/rust_abi.cpp \
7474
rt/rust_debug.cpp \
75-
rt/rust_box_annihilator.cpp \
7675
rt/memory_region.cpp \
7776
rt/boxed_region.cpp \
7877
rt/arch/$$(HOST_$(1))/context.cpp \

branches/try2/src/libcore/gc.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ struct StackSegment {
4444

4545
extern mod rustrt {
4646
#[legacy_exports];
47-
fn rust_annihilate_box(ptr: *Word);
48-
4947
#[rust_stack]
5048
fn rust_call_tydesc_glue(root: *Word, tydesc: *Word, field: size_t);
5149

@@ -330,7 +328,7 @@ pub fn cleanup_stack_for_failure() {
330328
roots.insert(*root, ());
331329

332330
if ptr::is_null(tydesc) {
333-
rustrt::rust_annihilate_box(*root);
331+
// XXX: Destroy this box
334332
} else {
335333
rustrt::rust_call_tydesc_glue(*root, tydesc, 3 as size_t);
336334
}

branches/try2/src/rt/rust_box_annihilator.cpp

Lines changed: 0 additions & 235 deletions
This file was deleted.

branches/try2/src/rt/rust_box_annihilator.h

Lines changed: 0 additions & 12 deletions
This file was deleted.

branches/try2/src/rt/rust_builtin.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include "sync/timer.h"
88
#include "rust_abi.h"
99
#include "rust_port.h"
10-
#include "rust_box_annihilator.h"
1110

1211
#include <time.h>
1312

@@ -748,12 +747,6 @@ rust_set_exit_status(intptr_t code) {
748747
task->kernel->set_exit_status((int)code);
749748
}
750749

751-
extern "C" CDECL void
752-
rust_annihilate_box(rust_opaque_box *ptr) {
753-
rust_task *task = rust_get_current_task();
754-
annihilate_box(task, ptr);
755-
}
756-
757750
extern void log_console_on();
758751

759752
extern "C" CDECL void

branches/try2/src/rt/rustrt.def.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ rust_task_deref
200200
rust_call_tydesc_glue
201201
tdefl_compress_mem_to_heap
202202
tinfl_decompress_mem_to_heap
203-
rust_annihilate_box
204203
rust_gc_metadata
205204
rust_uv_ip4_port
206205
rust_uv_ip6_port

0 commit comments

Comments
 (0)