summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-11-20 13:47:59 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-11-20 13:47:59 +0000
commitf2fbf437047071a269da32512a2a395994b7c1f2 (patch)
treed675f216ecd3323f6f6ac74db849ce5b9d973591 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
parentdae11f7aabfd025547bd313e03f143a8092b8304 (diff)
downloadbcm5719-llvm-f2fbf437047071a269da32512a2a395994b7c1f2.tar.gz
bcm5719-llvm-f2fbf437047071a269da32512a2a395994b7c1f2.zip
Fix comment typos. NFC.
Identified by Pedro Giffuni in PR27636. llvm-svn: 287490
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
index 090b9a3857e..7bfa7944558 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
@@ -217,7 +217,7 @@ private:
// given symbol and get the value of the requested operand.
// Returns an error if the instruction cannot be decoded, or the requested
// operand is not an immediate.
- // On success, retuns a pair containing the value of the operand, plus
+ // On success, returns a pair containing the value of the operand, plus
// the expression remaining to be evaluated.
std::pair<EvalResult, StringRef> evalDecodeOperand(StringRef Expr) const {
if (!Expr.startswith("("))
@@ -463,7 +463,7 @@ private:
Expr.substr(FirstNonDigit));
}
- // Evaluate a constant numeric expression (hexidecimal or decimal) and
+ // Evaluate a constant numeric expression (hexadecimal or decimal) and
// return a pair containing the result, and the expression remaining to be
// evaluated.
std::pair<EvalResult, StringRef> evalNumberExpr(StringRef Expr) const {
OpenPOWER on IntegriCloud