summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-04-09 19:34:59 +0000
committerChad Rosier <mcrosier@apple.com>2013-04-09 19:34:59 +0000
commita08f30f0937dff9b3b8a8e8bdd4e4a5a216e6854 (patch)
treea44dc3545a3e41c053daf567cd974c9f7411fd01 /llvm/lib/AsmParser/LLParser.h
parent52ce7189c1d933289255cffc39f10801ddf4334a (diff)
downloadbcm5719-llvm-a08f30f0937dff9b3b8a8e8bdd4e4a5a216e6854.tar.gz
bcm5719-llvm-a08f30f0937dff9b3b8a8e8bdd4e4a5a216e6854.zip
[ms-inline asm] Use parsePrimaryExpr in lieu of parseExpression if we need to
parse an identifier. Otherwise, parseExpression may parse multiple tokens, which makes it impossible to properly compute an immediate displacement. An example of such a case is the source operand (i.e., [Symbol + ImmDisp]) in the below example: __asm mov eax, [Symbol + ImmDisp] The existing test cases exercise this patch. rdar://13611297 llvm-svn: 179115
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud