Skip to content

Commit

Permalink
small nits
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemitenkov committed Jul 27, 2024
1 parent 164a271 commit 1b082d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/move/move-vm/runtime/src/storage/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ pub(crate) struct LoaderV2<V: Clone + Verifier> {
// All registered native functions the loader is aware of. When loaded modules
// are constructed, existing native functions are inlined in the loaded module
// representation, so that the interpreter can call them directly.
#[allow(dead_code)]
natives: NativeFunctions,

// Local caches:
Expand Down Expand Up @@ -346,6 +345,7 @@ impl<V: Clone + Verifier> LoaderV2<V> {
};

// TODO(George): While we do not need size anymore, fetch the correct value just in case.
// Once V1 API is no longer used, we can remove this.
let size = module_storage
.fetch_module_size_in_bytes(compiled_module.self_addr(), compiled_module.self_name())?;
Module::new(
Expand Down

0 comments on commit 1b082d8

Please sign in to comment.