Skip to content

Commit db71a96

Browse files
committed
---
yaml --- r: 379 b: refs/heads/master c: 6662aeb h: refs/heads/master i: 377: afd1c70 375: 34bf788 v: v3
1 parent a341038 commit db71a96

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
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: 4d31cf1dc58794b8f72240eb19c48b392e9de7b2
2+
refs/heads/master: 6662aeb779d3e44886c466378578ebe1979de15a

trunk/src/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ TEST_XFAILS_LLVM := $(addprefix test/run-pass/, \
451451
rec.rs \
452452
simple-obj.rs \
453453
spawn-fn.rs \
454+
spawn-module-qualified.rs \
454455
spawn.rs \
455456
stateful-obj.rs \
456457
str-append.rs \

trunk/src/boot/llvm/lltrans.ml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -764,16 +764,16 @@ let trans_crate
764764
match lval with
765765
Ast.LVAL_base { id = base_id } ->
766766
set_debug_loc base_id;
767-
let referent = lval_to_referent sem_cx base_id in
767+
let defn_id = lval_base_defn_id sem_cx lval in
768768
begin
769-
match resolve_lval_id sem_cx base_id with
769+
match get_defn sem_cx defn_id with
770770
Semant.DEFN_slot slot ->
771-
(Hashtbl.find slot_to_llvalue referent, slot_ty slot)
771+
(Hashtbl.find slot_to_llvalue defn_id, slot_ty slot)
772772
| Semant.DEFN_item _ ->
773-
(Hashtbl.find llitems referent, lval_ty sem_cx lval)
773+
(Hashtbl.find llitems defn_id, lval_ty sem_cx lval)
774774
| _ ->
775-
Common.unimpl (Some referent)
776-
"LLVM base-referent translation of: %a"
775+
Common.unimpl (Some defn_id)
776+
"LLVM base-defn translation of: %a"
777777
Ast.sprintf_lval lval
778778
end
779779
| Ast.LVAL_ext (base, component) ->

0 commit comments

Comments
 (0)