[AOT Fuzz] Fix the Inconsistency of Machine Type between Phi Gate and its Input Gate

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IA729A

Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: I967d609378e9367881b1e46e97888c81353cee37
This commit is contained in:
dingding 2024-06-20 20:48:59 +08:00
parent 3f3e6953a8
commit 0f3ba17219
3 changed files with 4 additions and 0 deletions

View File

@ -325,6 +325,7 @@ GateRef NumberSpeculativeRetype::VisitGate(GateRef gate)
case OpCode::ARRAY_FILTER:
case OpCode::ARRAY_MAP:
case OpCode::ARRAY_SLICE:
case OpCode::FINISH_ALLOCATE:
return VisitOthers(gate);
default:
return Circuit::NullGate();

View File

@ -12,3 +12,4 @@
# limitations under the License.
1
-9223372036854776000

View File

@ -21,3 +21,5 @@ function foo(l) {
}
print(foo({a:1, b:null}));
print({} && -9223372036854775808);