Displaying 1 result from an estimated 1 matches for "llvm_ty".
2013 Jan 09
2
[LLVMdev] Global variable initializer type does not match global variable type
...me, the result is identical to the first 
disassembly. The
recompiled bitcode file is slightly smaller.
I suspect that the problem is with aggregate type uniqueing. I use 
ruby-llvm bindings,
LLVM 3.2 to generate the file; the following code demonstrates what I 
deem the incorrect
behavior:
    # llvm_ty is an LLVM struct type with 2 elements.
    a, b = llvm_ty.element_types
    # Here, I decompose the type and verify that the types of elements
    # match my expectations:
    p a == @types[Monotype.of(VI::Class)] # true
    p b == emit_class_body_type(klass)    # true
    # I attempt to reconstr...