mirror of
https://github.com/openharmony/ark_js_runtime.git
synced 2026-07-19 19:43:48 -04:00
modify for get async function name
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
This commit is contained in:
@@ -67,7 +67,7 @@ void JSFunction::InitializeJSFunction(JSThread *thread, const JSHandle<JSFunctio
|
||||
globalConst->GetHandledPrototypeString(), desc);
|
||||
ASSERT(success);
|
||||
}
|
||||
} else if (kind == FunctionKind::NORMAL_FUNCTION) {
|
||||
} else if (HasAccessor(kind)) {
|
||||
JSHandle<JSTaggedValue> accessor = globalConst->GetHandledFunctionNameAccessor();
|
||||
func->SetPropertyInlinedProps(thread, NAME_INLINE_PROPERTY_INDEX, accessor.GetTaggedValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user