diff options
| author | gingerBill <bill@gingerbill.org> | 2021-04-24 15:00:01 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-04-24 15:00:01 +0100 |
| commit | c29b643a58d3d31cae55a58a3efbbe2df5a111ad (patch) | |
| tree | 4b6075e28a70d3ac8d6fa8946f4622a01ebe1b3b /src/ir.cpp | |
| parent | c9b82a21e9a52122a226ecc05c46a29dc8f57dac (diff) | |
Move out some intrinsics into separate procedures in llvm_backend.cpp; Rename `InlineRangeStmt` to `UnrollRangeStmt` (eventually merge the two AST nodes)
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 1c81f08ed..bd3c0409c 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -10892,8 +10892,8 @@ void ir_build_stmt_internal(irProcedure *proc, Ast *node) { ir_start_block(proc, done); case_end; - case_ast_node(rs, InlineRangeStmt, node); - ir_emit_comment(proc, str_lit("InlineRangeStmt")); + case_ast_node(rs, UnrollRangeStmt, node); + ir_emit_comment(proc, str_lit("UnrollRangeStmt")); ir_open_scope(proc); // Open scope here irBlock *done = ir_new_block(proc, node, "inline.for.done"); |