Skip to content

Commit caf36bb

Browse files
committed
---
yaml --- r: 4700 b: refs/heads/master c: f1cec57 h: refs/heads/master v: v3
1 parent debd855 commit caf36bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 93d425e7a5273a30846695b06b3de20ad406ed58
2+
refs/heads/master: f1cec5793f80893ce7c62cef4078c5e63f96d941

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ fn dynamic_align_of(cx: &@block_ctxt, t: &ty::t) -> result {
675675
fn GEPi(cx: &@block_ctxt, base: ValueRef, ixs: &[int]) -> ValueRef {
676676
let v: [ValueRef] = ~[];
677677
for i: int in ixs { v += ~[C_int(i)]; }
678-
ret cx.build.GEP(base, v);
678+
ret cx.build.InBoundsGEP(base, v);
679679
}
680680

681681
// Increment a pointer by a given amount and then cast it to be a pointer

0 commit comments

Comments
 (0)