Skip to content

Commit

Permalink
Revert "fix #8156"
Browse files Browse the repository at this point in the history
This reverts commit 662cd0a.

Conflicts:
	test/core.jl
  • Loading branch information
kmsquire committed Sep 3, 2014
1 parent d69c193 commit 06f0070
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/cgutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,6 @@ static Type *julia_struct_to_llvm(jl_value_t *jt)
lty = jl_pvalue_llvmt;
else
lty = ty==(jl_value_t*)jl_bool_type ? T_int8 : julia_type_to_llvm(ty);
if (lty == T_void || lty->isEmptyTy())
continue;
latypes.push_back(lty);
}
structdecl->setBody(latypes);
Expand Down
10 changes: 0 additions & 10 deletions test/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1830,16 +1830,6 @@ end
# issue #7582
aₜ = "a variable using Unicode 6"

immutable My8156{A, B}
a::A
b::B
end
let m = My8156(nothing, 1)
@test sizeof(m) == sizeof(1)
@test m.a === nothing
@test m.b === 1
end

# issue #8184
immutable Foo8184
x::Nothing
Expand Down

0 comments on commit 06f0070

Please sign in to comment.