aboutsummaryrefslogtreecommitdiff
path: root/source/opt/ir_builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/opt/ir_builder.h')
-rw-r--r--source/opt/ir_builder.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/opt/ir_builder.h b/source/opt/ir_builder.h
index b0c1d2ec..fe5feff5 100644
--- a/source/opt/ir_builder.h
+++ b/source/opt/ir_builder.h
@@ -601,15 +601,15 @@ class InstructionBuilder {
return preserved_analyses_ & analysis;
}
- // Updates the def/use manager if the user requested it. If he did not request
- // an update, this function does nothing.
+ // Updates the def/use manager if the user requested it. If an update was not
+ // requested, this function does nothing.
inline void UpdateDefUseMgr(Instruction* insn) {
if (IsAnalysisUpdateRequested(IRContext::kAnalysisDefUse))
GetContext()->get_def_use_mgr()->AnalyzeInstDefUse(insn);
}
- // Updates the instruction to block analysis if the user requested it. If he
- // did not request an update, this function does nothing.
+ // Updates the instruction to block analysis if the user requested it. If
+ // an update was not requested, this function does nothing.
inline void UpdateInstrToBlockMapping(Instruction* insn) {
if (IsAnalysisUpdateRequested(IRContext::kAnalysisInstrToBlockMapping) &&
parent_)