From 13a389c6b142b05c69990588efd749f36a133618 Mon Sep 17 00:00:00 2001 From: yangliping Date: Mon, 18 Aug 2025 13:58:26 +0800 Subject: [PATCH] fix warning Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/ICTFJE?from=project-issue Signed-off-by: yangliping --- ecmascript/compiler/interpreter_stub.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ecmascript/compiler/interpreter_stub.cpp b/ecmascript/compiler/interpreter_stub.cpp index f003ed52d2..482b63b00c 100644 --- a/ecmascript/compiler/interpreter_stub.cpp +++ b/ecmascript/compiler/interpreter_stub.cpp @@ -5319,7 +5319,8 @@ DECLARE_ASM_HANDLER(HandleDefinefuncImm16Id16Imm8) } Bind(&isNotSourceTextModule); SetModuleToFunction(glue, result, smodule, MemoryAttribute::DefaultWithShareBarrier()); - GateRef emptySFunctionEnvHandle = GetGlobalConstantValue(VariableType::JS_ANY(), glue, ConstantIndex::EMPTY_SFUNCTION_ENV_INDEX); + GateRef emptySFunctionEnvHandle = GetGlobalConstantValue(VariableType::JS_ANY(), + glue, ConstantIndex::EMPTY_SFUNCTION_ENV_INDEX); SetLexicalEnvToFunction(glue, result, emptySFunctionEnvHandle); Jump(&afterSendableFunc); } -- Gitee