OSDN Git Service

Added the ParseInstruction() hook for target specific assembler directives so
authorKevin Enderby <enderby@apple.com>
Thu, 10 Sep 2009 20:51:44 +0000 (20:51 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 10 Sep 2009 20:51:44 +0000 (20:51 +0000)
commit9c656450d65034c4cd3597fff61ef17376cff090
tree020f8daa6c6b45a3d7339e93c495c69a18aecf80
parent399e45b459c2904b9bd1927306670585ecec3378
Added the ParseInstruction() hook for target specific assembler directives so
that things like .word can be parsed as target specific.  Moved parsing .word
out of AsmParser.cpp into X86AsmParser.cpp as it is 2 bytes on X86 and 4 bytes
for other targets that support the .word directive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81461 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetAsmParser.h
lib/Target/X86/AsmParser/X86AsmParser.cpp
tools/llvm-mc/AsmParser.cpp
tools/llvm-mc/llvm-mc.cpp