summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-21 20:51:43 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-21 20:51:43 +0000
commit143d0f7371ec9bfcb17afe6f7253597a4050a1e3 (patch)
tree810803b63946b47347eb35f446c07764facc7292 /llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
parentfeeec326fecf8bb19890bfed4b467afc3b67a0f2 (diff)
downloadbcm5719-llvm-143d0f7371ec9bfcb17afe6f7253597a4050a1e3.tar.gz
bcm5719-llvm-143d0f7371ec9bfcb17afe6f7253597a4050a1e3.zip
Add comment.
llvm-svn: 164414
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 1ba0412fd67..6431b75c548 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -487,7 +487,8 @@ public:
SMLoc getStartLoc() const { return StartLoc; }
/// getEndLoc - Get the location of the last token of this operand.
SMLoc getEndLoc() const { return EndLoc; }
-
+ /// getLocRange - Get the range between the first and last token of this
+ /// operand.
SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
ARMCC::CondCodes getCondCode() const {
OpenPOWER on IntegriCloud