Skip to content

Commit

Permalink
more temporary test
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Dec 15, 2023
1 parent ca5267c commit 44dd388
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,9 @@ jobs:
- uses: actions/checkout@v3
- run: source activate && ./windows_setup.sh --small
shell: bash
- run: source activate && mingw32-make self_hosted_compiler.exe
shell: bash
- run: ./self_hosted_compiler.exe tests/should_succeed/union.jou
shell: bash
- run: source activate && ./compare_compilers.sh
shell: bash
2 changes: 2 additions & 0 deletions self_hosted/create_llvm_ir.jou
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ class AstToIR:
)

if field_uses_i8_ptr_hack(field) or field->belongs_to_union:
puts("Bitcast!!!!!!")
fflush(stdout)
field_pointer = LLVMBuildBitCast(
self->builder,
field_pointer,
Expand Down

0 comments on commit 44dd388

Please sign in to comment.