From da8bc76b4bf7d1a7b025d6c8ef5809551467dcc7 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Sun, 9 Aug 2026 13:23:48 +0800 Subject: [CodeGen] Implement RV64GC frame lowering --- backend/unittests/Support/ErrorTest.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend/unittests/Support/ErrorTest.cpp') diff --git a/backend/unittests/Support/ErrorTest.cpp b/backend/unittests/Support/ErrorTest.cpp index 23140e3..af2ece9 100644 --- a/backend/unittests/Support/ErrorTest.cpp +++ b/backend/unittests/Support/ErrorTest.cpp @@ -28,6 +28,8 @@ int main() { return fail("Error must preserve its message"); if (rcc::getErrorCodeName(Failure.error().code()) != "parse error") return fail("Error code must have a stable name"); + if (rcc::getErrorCodeName(rcc::ErrorCode::FrameLayoutFailed) != "frame layout failed") + return fail("frame-layout errors must have a stable name"); return 0; } -- cgit v1.2.3