| ... | ... | @@ -1487,9 +1487,6 @@ static LLVMValueRef ir_render_asm(CodeGen *g, IrExecutable *executable, IrInstru |
| 1487 | 1487 | Buf llvm_template = BUF_INIT; |
| 1488 | 1488 | buf_resize(&llvm_template, 0); |
| 1489 | 1489 | |
| 1490 | | uint32_t unique_id = g->unique_asm_id; |
| 1491 | | g->unique_asm_id += 1; |
| 1492 | | |
| 1493 | 1490 | for (size_t token_i = 0; token_i < asm_expr->token_list.length; token_i += 1) { |
| 1494 | 1491 | AsmToken *asm_token = &asm_expr->token_list.at(token_i); |
| 1495 | 1492 | switch (asm_token->id) { |
| ... | ... | @@ -1514,7 +1511,7 @@ static LLVMValueRef ir_render_asm(CodeGen *g, IrExecutable *executable, IrInstru |
| 1514 | 1511 | break; |
| 1515 | 1512 | } |
| 1516 | 1513 | case AsmTokenIdUniqueId: |
| 1517 | | buf_appendf(&llvm_template, "%" PRIu32, unique_id); |
| 1514 | buf_append_str(&llvm_template, "${:uid}"); |
| 1518 | 1515 | break; |
| 1519 | 1516 | } |
| 1520 | 1517 | } |