Skip to content

Commit 3f02c47

Browse files
committed
---
yaml --- r: 12274 b: refs/heads/master c: 987bc23 h: refs/heads/master v: v3
1 parent a5332c6 commit 3f02c47

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: dd63c5ef1d55210cf9905295d9c33c622797fb72
2+
refs/heads/master: 987bc2362926d0672a01e8d5964940743df48cb6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rustc/middle/trans/base.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,8 +1045,6 @@ fn call_tydesc_glue_full(cx: block, v: ValueRef, tydesc: ValueRef,
10451045
}
10461046

10471047
let llrawptr = PointerCast(cx, v, T_ptr(T_i8()));
1048-
let lltydescs = GEPi(cx, tydesc, [0, abi::tydesc_field_first_param]);
1049-
let lltydescs = Load(cx, lltydescs);
10501048

10511049
let llfn = {
10521050
alt static_glue_fn {
@@ -1059,7 +1057,7 @@ fn call_tydesc_glue_full(cx: block, v: ValueRef, tydesc: ValueRef,
10591057
};
10601058

10611059
Call(cx, llfn, [C_null(T_ptr(T_nil())), C_null(T_ptr(T_nil())),
1062-
lltydescs, llrawptr]);
1060+
C_null(T_ptr(T_ptr(cx.ccx().tydesc_type))), llrawptr]);
10631061
}
10641062

10651063
fn call_tydesc_glue(cx: block, v: ValueRef, t: ty::t, field: int) ->

0 commit comments

Comments
 (0)