From cc03c0184e6c13969f78dea22ee80eac0da5a713 Mon Sep 17 00:00:00 2001 From: Olshevsky Vladimir Date: Thu, 29 May 2025 09:26:31 +0300 Subject: [PATCH] Fixed bytecodeopt_peephole_runtime_test Testing: ninja bytecodeopt_peepholes_runtime_tests && \ bin-gtests/bytecodeopt_peepholes_runtime_test Signed-off-by: Olshevsky Vladimir --- .../tests/bytecodeopt_peepholes_runtime_test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static_core/bytecode_optimizer/tests/bytecodeopt_peepholes_runtime_test.cpp b/static_core/bytecode_optimizer/tests/bytecodeopt_peepholes_runtime_test.cpp index a3ab5b5934..9dfe97e3d0 100644 --- a/static_core/bytecode_optimizer/tests/bytecodeopt_peepholes_runtime_test.cpp +++ b/static_core/bytecode_optimizer/tests/bytecodeopt_peepholes_runtime_test.cpp @@ -70,17 +70,17 @@ TEST_F(BytecodeOptPeepholes, TryBlock) throw v0 } - .function u8 try_catch() { + .function u64 try_catch() { try_begin: - movi v1, 0x1 + movi.64 v1, 0x1 newobj v0, R - movi v1, 0x2 + movi.64 v1, 0x2 call.short R.ctor, v0 try_end: - ldai 0x0 + ldai.64 0x0 return catch_all: - lda v1 + lda.64 v1 return .catchall try_begin, try_end, catch_all } -- Gitee