Changes in directory llvm/lib/Target/ARM:
ARMTargetAsmInfo.h updated: 1.3 - 1.4
ARMTargetAsmInfo.cpp updated: 1.18 - 1.19
---
Log message:
Add some support for (Darwin) code-generating directives in getInlineAsmLength.
Support is incomplete, but more accurate than gcc's.
---
Diffs of the
Woot! Fun stuff. :-)
Thanks Dale.
Evan
On May 1, 2007, at 6:03 PM, Dale Johannesen wrote:
Changes in directory llvm/lib/Target/ARM:
ARMTargetAsmInfo.h updated: 1.3 - 1.4
ARMTargetAsmInfo.cpp updated: 1.18 - 1.19
---
Log message:
Add some support for (Darwin) code-generating directives
Changes in directory llvm/lib/Target/ARM:
ARMTargetAsmInfo.h updated: 1.2 - 1.3
ARMTargetAsmInfo.cpp updated: 1.15 - 1.16
---
Log message:
Make ARM-specific version of getInlineAsmLength
---
Diffs of the changes: (+53 -0)
ARMTargetAsmInfo.cpp | 51
+/// ARM-specific version of TargetAsmInfo::getInlineAsmLength.
+unsigned ARMTargetAsmInfo::getInlineAsmLength(const char *Str) const {
+ // Count the number of bytes in the asm.
+ bool atInsnStart = true;
+ unsigned Length = 0;
+ for (; *Str; ++Str) {
+if (atInsnStart) {
+ // Skip