mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-23 10:09:54 +00:00
Optimize logging information
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAYHR1 Signed-off-by: hlm2001 <huanglimin10@huawei.com>
This commit is contained in:
parent
afaffae213
commit
b9f0afd9cd
@ -263,7 +263,8 @@ std::pair<JSHandle<ConstantPool>, JSHandle<ConstantPool>> PandaFileTranslator::P
|
||||
type == ConstPoolType::CLASS_FUNCTION || type == ConstPoolType::METHOD ||
|
||||
type == ConstPoolType::ASYNC_GENERATOR_FUNCTION);
|
||||
MethodLiteral *methodLiteral = jsPandaFile->FindMethodLiteral(it.first);
|
||||
CHECK_INPUT_NULLPTR(methodLiteral, "ParseConstPool:methodLiteral is nullptr");
|
||||
CHECK_INPUT_NULLPTR(methodLiteral,
|
||||
"ParseConstPool:methodLiteral is nullptr, offset: " + std::to_string(it.first));
|
||||
methodLiteral->SetFunctionKind(JSPandaFile::GetFunctionKind(type));
|
||||
|
||||
JSHandle<Method> method = factory->NewSMethod(methodLiteral);
|
||||
@ -333,7 +334,8 @@ void PandaFileTranslator::ParseFuncAndLiteralConstPool(EcmaVM *vm, const JSPanda
|
||||
type == ConstPoolType::CLASS_FUNCTION || type == ConstPoolType::METHOD ||
|
||||
type == ConstPoolType::ASYNC_GENERATOR_FUNCTION);
|
||||
MethodLiteral *methodLiteral = jsPandaFile->FindMethodLiteral(it.first);
|
||||
CHECK_INPUT_NULLPTR(methodLiteral, "ParseFuncAndLiteralConstPool:methodLiteral is nullptr");
|
||||
CHECK_INPUT_NULLPTR(methodLiteral, "ParseFuncAndLiteralConstPool:methodLiteral is nullptr, offset: "
|
||||
+ std::to_string(it.first));
|
||||
methodLiteral->SetFunctionKind(JSPandaFile::GetFunctionKind(type));
|
||||
|
||||
JSHandle<Method> method = factory->NewSMethod(methodLiteral);
|
||||
|
Loading…
Reference in New Issue
Block a user