Minor code tidying.
This commit is contained in:
@@ -717,7 +717,7 @@ fn get_memory_init_start(
|
|||||||
} else {
|
} else {
|
||||||
contents.imported_global(base).from
|
contents.imported_global(base).from
|
||||||
};
|
};
|
||||||
start += cast::usize(unsafe { *(&*global).as_u32() });
|
start += cast::usize(*unsafe { (*global).as_u32() });
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
@@ -787,7 +787,7 @@ fn get_table_init_start(
|
|||||||
} else {
|
} else {
|
||||||
contents.imported_global(base).from
|
contents.imported_global(base).from
|
||||||
};
|
};
|
||||||
start += cast::usize(unsafe { *(&*global).as_u32() });
|
start += cast::usize(*unsafe { (*global).as_u32() });
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
|
|||||||
Reference in New Issue
Block a user