modify host_test

Signed-off-by: lifansheng <lifansheng1@huawei.com>
This commit is contained in:
lifansheng 2021-09-11 20:21:09 +08:00
parent 1d77c145d6
commit 8ac9a04cb4

View File

@ -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();
}
}