search for: currfilefragment

Displaying 1 result from an estimated 1 matches for "currfilefragment".

2010 Oct 21
2
[LLVMdev] Fwd: [llvm-commits] Proof of concept patch for unifying the .s/ELF emission of .ARM.attributes
On Wed, Oct 20, 2010 at 2:56 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote: >> Gosh, this is taking a while :-) >> Is there anything else I missed? > > Another one I noticed. Instead of > >      SmallString<32> *FC = &currFileFragment.getContents(); >      (*FC) += static_cast<char>(attr); >      (*FC) += static_cast<char>(0xFF & v); > > You can do > >     OutStreamer.EmitIntValue(static_cast<char>(attr), 1); >     OutStreamer.EmitIntValue(0xFF & v, 1); > > No? Using the strea...