Address review comments: more doc comments and some minor refactorings.

This commit is contained in:
Chris Fallin
2021-08-30 17:15:37 -07:00
parent e10bffbca8
commit 6d313f2b56
11 changed files with 256 additions and 153 deletions

View File

@@ -75,11 +75,11 @@ pub struct Func {
}
impl Function for Func {
fn insts(&self) -> usize {
fn num_insts(&self) -> usize {
self.insts.len()
}
fn blocks(&self) -> usize {
fn num_blocks(&self) -> usize {
self.blocks.len()
}