aboutsummaryrefslogtreecommitdiff
path: root/source/opt/private_to_local_pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/opt/private_to_local_pass.h')
-rw-r--r--source/opt/private_to_local_pass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/opt/private_to_local_pass.h b/source/opt/private_to_local_pass.h
index c6127d67..e96a965e 100644
--- a/source/opt/private_to_local_pass.h
+++ b/source/opt/private_to_local_pass.h
@@ -44,7 +44,7 @@ class PrivateToLocalPass : public Pass {
// class of |function|. Returns false if the variable could not be moved.
bool MoveVariable(Instruction* variable, Function* function);
- // |inst| is an instruction declaring a varible. If that variable is
+ // |inst| is an instruction declaring a variable. If that variable is
// referenced in a single function and all of uses are valid as defined by
// |IsValidUse|, then that function is returned. Otherwise, the return
// value is |nullptr|.