mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 16:13:49 +00:00
Fix(Aot): Fix pgo crash in rili application
Issue: #I7HUW1 Change-Id: Ifb8cb5a619c32ebcc3a614f8cdd95ed5f49e3345 Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
This commit is contained in:
parent
0d362bc72c
commit
01d0329204
@ -179,6 +179,9 @@ void ProfilerStubBuilder::ProfileCall(GateRef glue, GateRef pc, GateRef profileT
|
||||
}
|
||||
Bind(&uninitialLabel);
|
||||
{
|
||||
Label fastLabel(env);
|
||||
Branch(TaggedIsUndefined(slotValue), &fastLabel, &slowpath);
|
||||
Bind(&fastLabel);
|
||||
SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, IntToTaggedInt(*inc));
|
||||
Jump(&slowpath);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user