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.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 01b35984 authored by qinsoon's avatar qinsoon
Browse files

[wip] remove warnings

parent 69e8132a
......@@ -123,6 +123,7 @@ impl CompilerPass for InspectInterferenceGraph {
fn test_spill1_ig() {
......@@ -179,6 +180,7 @@ fn test_spill1_ig() {
fn test_spill1() {
......@@ -195,6 +197,18 @@ fn test_spill1() {
compiler.compile(&mut func_ver);
let dylib = aot::link_dylib(vec![Mu("spill1")], "libspill1.dylib");
let lib = libloading::Library::new(dylib.as_os_str()).unwrap();
unsafe {
let simple_spill : libloading::Symbol<unsafe extern fn() -> u64> = match lib.get(b"spill1") {
Ok(symbol) => symbol,
Err(e) => panic!("cannot find symbol spill1 in dylib: {:?}", e)
fn create_spill1() -> VM {
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