mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 08:03:29 +00:00
Fix ark_aot_compiler build after build time PR
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAHK2U Change-Id: I1372eb2d5dab84d229daa7b0ced5badee2bc2fe8 Signed-off-by: Andrey Efremov <efremov.andrey@huawei-partners.com>
This commit is contained in:
parent
0c4c9d6125
commit
2001176380
@ -92,14 +92,14 @@ JSTaggedValue JsonParser<T>::ParseJSONText()
|
||||
SkipStartWhiteSpace();
|
||||
if (UNLIKELY(*current_ != '"')) {
|
||||
THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpected Object Prop in JSON",
|
||||
JSTaggedValue::Exception());
|
||||
JSTaggedValue::Exception());
|
||||
}
|
||||
propertyList.emplace_back(ParseString(true));
|
||||
RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
|
||||
SkipStartWhiteSpace();
|
||||
if (UNLIKELY(*current_ != ':')) {
|
||||
THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpected Object in JSON",
|
||||
JSTaggedValue::Exception());
|
||||
JSTaggedValue::Exception());
|
||||
}
|
||||
Advance();
|
||||
continue;
|
||||
@ -150,7 +150,7 @@ JSTaggedValue JsonParser<T>::ParseJSONText()
|
||||
ASSERT(propertyList.empty());
|
||||
if (current_ <= range_) {
|
||||
THROW_SYNTAX_ERROR_AND_RETURN(thread_, "Unexpected Text in JSON",
|
||||
JSTaggedValue::Exception());
|
||||
JSTaggedValue::Exception());
|
||||
}
|
||||
return parseValue.GetTaggedValue();
|
||||
case ContType::ARRAY: {
|
||||
@ -769,7 +769,7 @@ bool JsonParser<T>::ReadNumberRange(bool &isFast, int32_t &fastInteger)
|
||||
int32_t i = 0;
|
||||
if (numberLength <= INTEGER_MAX_LEN && (*advance == ',' || *advance == ']' || *advance == '}')) {
|
||||
for (; current != advance; current++) {
|
||||
i = (i * 10) + ((*current) - '0');
|
||||
i = (i * 10U) + ((*current) - '0');
|
||||
}
|
||||
fastInteger = i * sign;
|
||||
current_ = advance;
|
||||
|
@ -815,7 +815,7 @@ public:
|
||||
aotSnapShotStatsMap_[tag] += count;
|
||||
}
|
||||
|
||||
void PrintAOTSnapShotStats();
|
||||
void PUBLIC_API PrintAOTSnapShotStats();
|
||||
|
||||
protected:
|
||||
|
||||
|
@ -163,6 +163,7 @@
|
||||
panda::ecmascript::EcmaVM::IsEnablePGOProfiler*;
|
||||
panda::ecmascript::EcmaVM::IsEnableJit*;
|
||||
panda::ecmascript::EcmaVM::GetMultiThreadCheck*;
|
||||
panda::ecmascript::EcmaVM::PrintAOTSnapShotStats*;
|
||||
panda::ecmascript::EcmaVM::multiThreadCheck_;
|
||||
panda::ecmascript::ElementAccessor::ConvertTaggedValueWithElementsKind*;
|
||||
panda::ecmascript::ElementAccessor::Get*;
|
||||
|
Loading…
Reference in New Issue
Block a user