mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 16:13:49 +00:00
Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com> issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7IGYI
This commit is contained in:
parent
1c7eddb1af
commit
be5542b51d
@ -308,7 +308,8 @@ public:
|
||||
}
|
||||
TimeScope timescope("NTypeHCRLoweringPass", data->GetMethodName(), data->GetMethodOffset(), data->GetLog());
|
||||
bool enableLog = data->GetLog()->EnableMethodCIRLog();
|
||||
NTypeHCRLowering lowering(data->GetCircuit(), data->GetPassContext(), data->GetTSManager(), enableLog, data->GetMethodName());
|
||||
NTypeHCRLowering lowering(data->GetCircuit(), data->GetPassContext(),
|
||||
data->GetTSManager(), enableLog, data->GetMethodName());
|
||||
lowering.RunNTypeHCRLowering();
|
||||
return true;
|
||||
}
|
||||
|
@ -696,7 +696,8 @@ JSTaggedValue JSTypedArray::FastSetPropertyByIndex(JSThread *thread, const JSTag
|
||||
// Let elementType be the String value of the Element Type value in Table 49 for arrayTypeName.
|
||||
DataViewType elementType = TypedArrayHelper::GetType(jsType);
|
||||
// Perform SetValueInBuffer(buffer, indexedPosition, elementType, numValue).
|
||||
return BuiltinsArrayBuffer::FastSetValueInBuffer(thread, buffer, byteIndex, elementType, numValue.GetNumber(), true);
|
||||
return BuiltinsArrayBuffer::FastSetValueInBuffer(thread,
|
||||
buffer, byteIndex, elementType, numValue.GetNumber(), true);
|
||||
}
|
||||
|
||||
JSTaggedValue JSTypedArray::GetOffHeapBuffer(JSThread *thread, JSHandle<JSTypedArray> &typedArray)
|
||||
|
Loading…
Reference in New Issue
Block a user