Skip to content

Commit cae6bb2

Browse files
committed
---
yaml --- r: 32535 b: refs/heads/dist-snap c: 4a86540 h: refs/heads/master i: 32533: 4361d07 32531: ab8236c 32527: 26c582b v: v3
1 parent 96473f7 commit cae6bb2

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: 23880daef2fbdfc01f8651fa8e84eb9700cceb3c
10+
refs/heads/dist-snap: 4a865401f580863c67b9dd0e44a0192f21817c7c
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/src/rustc/back/upcall.rs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@ use middle::trans::common::{T_fn, T_i1, T_i8, T_i32,
88
use lib::llvm::{type_names, ModuleRef, ValueRef, TypeRef};
99

1010
type upcalls =
11-
{_fail: ValueRef,
12-
trace: ValueRef,
11+
{trace: ValueRef,
1312
malloc: ValueRef,
1413
free: ValueRef,
1514
exchange_malloc: ValueRef,
1615
exchange_free: ValueRef,
1716
validate_box: ValueRef,
18-
mark: ValueRef,
19-
str_new_uniq: ValueRef,
20-
str_new_shared: ValueRef,
2117
log_type: ValueRef,
2218
call_shim_on_c_stack: ValueRef,
2319
call_shim_on_rust_stack: ValueRef,
@@ -45,10 +41,7 @@ fn declare_upcalls(targ_cfg: @session::config,
4541
let int_t = T_int(targ_cfg);
4642
let size_t = T_size_t(targ_cfg);
4743

48-
return @{_fail: dv(~"fail", ~[T_ptr(T_i8()),
49-
T_ptr(T_i8()),
50-
size_t]),
51-
trace: dv(~"trace", ~[T_ptr(T_i8()),
44+
return @{trace: dv(~"trace", ~[T_ptr(T_i8()),
5245
T_ptr(T_i8()),
5346
int_t]),
5447
malloc:
@@ -65,14 +58,6 @@ fn declare_upcalls(targ_cfg: @session::config,
6558
nothrow(dv(~"exchange_free", ~[T_ptr(T_i8())])),
6659
validate_box:
6760
nothrow(dv(~"validate_box", ~[T_ptr(T_i8())])),
68-
mark:
69-
d(~"mark", ~[T_ptr(T_i8())], int_t),
70-
str_new_uniq:
71-
nothrow(d(~"str_new_uniq", ~[T_ptr(T_i8()), int_t],
72-
T_ptr(T_i8()))),
73-
str_new_shared:
74-
nothrow(d(~"str_new_shared", ~[T_ptr(T_i8()), int_t],
75-
T_ptr(T_i8()))),
7661
log_type:
7762
dv(~"log_type", ~[T_ptr(tydesc_type),
7863
T_ptr(T_i8()), T_i32()]),

0 commit comments

Comments
 (0)