WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

Commit 9a9ef44f authored by Javad Ebrahimian Amiri's avatar Javad Ebrahimian Amiri
Browse files

Fixed store_funcref error on Aarch64

parent 3c44f2e0
......@@ -657,8 +657,8 @@ pub fn run_test_2f(vm: &VM, test_name: &str, dep_name: &str, tester_name: &str)
let output_name = test_name.to_string() + "_" + tester_name;
let executable = link_test_primordial(
......@@ -1241,12 +1241,13 @@ fn store_funcref() -> VM {
tester function goes here
typedef!((vm) int64 = mu_int(64));
typedef!((vm) int32 = mu_int(32));
typedef!((vm) int1 = mu_int(1));
typedef!((vm) u64_ref = mu_ref(int64));
constdef!((vm) <int64> alloc_size_const = Constant::Int(8));
constdef!((vm) <int64> expected_result_const = Constant::Int(1));
constdef!((vm) <int64> int64_pass = Constant::Int(0));
constdef!((vm) <int64> int64_fail = Constant::Int(1));
constdef!((vm) <int32> int64_pass = Constant::Int(0));
constdef!((vm) <int32> int64_fail = Constant::Int(1));
funcsig!((vm) tester_sig = () -> ());
funcdecl!((vm) <tester_sig> current_tester);
......@@ -1295,7 +1296,7 @@ fn store_funcref() -> VM {
cmp_res = CMPOP (CmpOp::EQ) result expected_result_const_local
ssa!((vm, current_tester_v1) <int64> blk_entry_ret);
ssa!((vm, current_tester_v1) <int32> blk_entry_ret);
inst!((vm, current_tester_v1) blk_entry_inst_select:
blk_entry_ret = SELECT cmp_res int64_pass_local int64_fail_local
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment