diff options
| author | gingerBill <bill@gingerbill.org> | 2023-07-24 16:09:01 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-07-24 16:09:01 +0100 |
| commit | 28fca190ee11f5c19d30007f20caa4c7bf89f655 (patch) | |
| tree | 595c387e0d83bec411e346d301c6c6d3e3d65676 /src/tilde_stmt.cpp | |
| parent | 78116e0ea24aef3f663832edfb5f9cd6aa7b6e57 (diff) | |
Fix `transmute(uintptr)ptr` etc
Diffstat (limited to 'src/tilde_stmt.cpp')
| -rw-r--r-- | src/tilde_stmt.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tilde_stmt.cpp b/src/tilde_stmt.cpp index f89dbdf03..8b577dfeb 100644 --- a/src/tilde_stmt.cpp +++ b/src/tilde_stmt.cpp @@ -1630,8 +1630,7 @@ gb_internal void cg_build_range_stmt(cgProcedure *p, Ast *node) { array = cg_emit_load(p, array); } count_ptr = cg_emit_struct_ep(p, array, 1); - GB_PANIC("TODO(bill): cg_build_range_stmt_indexed"); - // cg_build_range_stmt_indexed(p, array, val0_type, count_ptr, &val, &key, &loop, &done, rs->reverse); + cg_build_range_stmt_indexed(p, array, val0_type, count_ptr, &val, &key, &loop, &done, rs->reverse); break; } case Type_Slice: { |