diff options
| author | gingerBill <bill@gingerbill.org> | 2024-08-31 13:51:35 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-08-31 13:51:35 +0100 |
| commit | 476030dd2890a4fc0c46afcd8dab3247982a3bd7 (patch) | |
| tree | 5e14d3969f9914e58b83cc187a6ba77fe01823e7 /src/llvm_backend_stmt.cpp | |
| parent | e0a2e5260109185a207c402ef8c792362f1769fc (diff) | |
Fix #4156
Diffstat (limited to 'src/llvm_backend_stmt.cpp')
| -rw-r--r-- | src/llvm_backend_stmt.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/llvm_backend_stmt.cpp b/src/llvm_backend_stmt.cpp index f2fe4f7dc..bef516283 100644 --- a/src/llvm_backend_stmt.cpp +++ b/src/llvm_backend_stmt.cpp @@ -1404,6 +1404,10 @@ gb_internal bool lb_switch_stmt_can_be_trivial_jump_table(AstSwitchStmt *ss, boo } + if (is_typeid) { + return false; + } + return true; } |