mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 16:13:49 +00:00
modify host_test
Signed-off-by: lifansheng <lifansheng1@huawei.com>
This commit is contained in:
parent
1d77c145d6
commit
8ac9a04cb4
@ -162,7 +162,6 @@ JSTaggedValue LoadICRuntime::LoadMiss(JSHandle<JSTaggedValue> receiver, JSHandle
|
||||
#endif
|
||||
// do not cache element
|
||||
if (!op.IsFastMode() && op.IsFound()) {
|
||||
icAccessor_.SetAsMega();
|
||||
return result.GetTaggedValue();
|
||||
}
|
||||
|
||||
@ -184,7 +183,6 @@ JSTaggedValue StoreICRuntime::StoreMiss(JSHandle<JSTaggedValue> receiver, JSHand
|
||||
if (found) {
|
||||
SlowRuntimeStub::TryUpdateGlobalRecord(thread_, key.GetTaggedValue(), value.GetTaggedValue());
|
||||
RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
|
||||
icAccessor_.SetAsMega();
|
||||
return JSTaggedValue::Undefined();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user