[llvm-commits] [llvm] r124608 - /llvm/trunk/lib/MC/MCParser/AsmParser.cpp

Roman Divacky rdivacky at freebsd.org
Tue Feb 1 00:45:18 PST 2011


On Mon, Jan 31, 2011 at 01:52:22PM -0800, Chris Lattner wrote:
> 
> On Jan 31, 2011, at 1:19 PM, Roman Divacky wrote:
> 
> > Author: rdivacky
> > Date: Mon Jan 31 15:19:43 2011
> > New Revision: 124608
> > 
> > URL: http://llvm.org/viewvc/llvm-project?rev=124608&view=rev
> > Log:
> > 
> > Enumerate .code16/32/64 instead of checking .code prefix. This
> > unbreaks some ARM tests.
> 
> .code32 should be accepted when already in 32-bit mode, similarly for .code64.

yes, but usually you specify one of that directives when you want to
switch to a non default mode or you already did and you want to switch
back. the parsing will stop on the first switch so the second one
wont be reached.

I hope support for .code{16,32,64} will be contributed soon so this will
go away completely :)

roman



More information about the llvm-commits mailing list