Clarify some comments.

This commit is contained in:
Dan Gohman
2017-11-03 11:44:58 -07:00
parent e21479a843
commit c7f01f88b2

View File

@@ -10,7 +10,7 @@ use cretonne::isa::TargetIsa;
use ssa::{SSABuilder, SideEffects, Block}; use ssa::{SSABuilder, SideEffects, Block};
use cretonne::entity::{EntityRef, EntityMap, EntitySet}; use cretonne::entity::{EntityRef, EntityMap, EntitySet};
/// Permanent structure used for translating into Cretonne IL. /// Structure used for translating a series of functions into Cretonne IL.
/// ///
/// In order to reduce memory reallocations whem compiling multiple functions, /// In order to reduce memory reallocations whem compiling multiple functions,
/// `ILBuilder` holds various data structures which are cleared between /// `ILBuilder` holds various data structures which are cleared between
@@ -26,7 +26,7 @@ where
} }
/// Temporary object used to build a Cretonne IL `Function`. /// Temporary object used to build a single Cretonne IL `Function`.
pub struct FunctionBuilder<'a, Variable: 'a> pub struct FunctionBuilder<'a, Variable: 'a>
where where
Variable: EntityRef + Default, Variable: EntityRef + Default,