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 5a40d427 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano
Browse files

Fixed invalid IR problems

parent f2ea937b
......@@ -163,7 +163,6 @@ impl VMOptions {
}
}
unsafe { super::api::VALIDATE_IR = false };
ret
}
}
......
......@@ -136,7 +136,7 @@ def test_add_load_cast_global():
STORE <int<64>> global_y <int<64>> 42
BRANCH body(<int<32>> 1)
body(<int<64>> x):
body(<int<32>> x):
global32_y = REFCAST <iref<int<64>> iref<int<32>>> global_y
y = LOAD <int<32>> global32_y
sum = ADD <int<32>> x y
......@@ -147,4 +147,4 @@ def test_add_load_cast_global():
}
""", "test_add_load_cast_global"
)
assert(execute("test_add_load_cast_global") == 43)
\ No newline at end of file
assert(execute("test_add_load_cast_global") == 43)
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