From c7f01f88b2ae7b8364ed1478f12ba60b5f2691ec Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 3 Nov 2017 11:44:58 -0700 Subject: [PATCH] Clarify some comments. --- lib/frontend/src/frontend.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/frontend/src/frontend.rs b/lib/frontend/src/frontend.rs index b382951f7c..4cbdcd527f 100644 --- a/lib/frontend/src/frontend.rs +++ b/lib/frontend/src/frontend.rs @@ -10,7 +10,7 @@ use cretonne::isa::TargetIsa; use ssa::{SSABuilder, SideEffects, Block}; 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, /// `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> where Variable: EntityRef + Default,