mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 08:25:02 +01:00
rename lower to codegen
This commit is contained in:
parent
a1d04d264e
commit
d9ab81bed1
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { TY_I32, TY_INT, TyStruct } from "./ast";
|
||||
import { layoutOfStruct } from "./lower";
|
||||
import { layoutOfStruct } from "./codegen";
|
||||
|
||||
it("should compute struct layout correctly", () => {
|
||||
const ty: TyStruct = {
|
||||
|
|
@ -1012,6 +1012,8 @@ function lowerExpr(
|
|||
expr.fields.forEach((field) => lowerExpr(fcx, instrs, field));
|
||||
break;
|
||||
}
|
||||
case "refcount":
|
||||
todo("refcount");
|
||||
default: {
|
||||
const _: never = expr;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue