Re: [jruby-dev] Working on IR2JVM backend

2012-04-09 Thread Thomas E Enebo
After talking to subbu we will make an IdentifierOperand for this case (and also use it in the other places where we know we are working with identifiers). This is useful in pointing out the real type of what the argument represents. It should also make it easier for the compiler to generically

Re: [jruby-dev] Working on IR2JVM backend

2012-04-09 Thread Thomas E Enebo
I think the main issue is they need to be encoded as some sort of operand. We need to be able to dump/load instructions. We could create a special operand for this maybe? -Tom On Sat, Apr 7, 2012 at 5:21 PM, Charles Oliver Nutter wrote: > I'll reply to this with notes as I go. > > AliasInstr h

[jruby-dev] Working on IR2JVM backend

2012-04-07 Thread Charles Oliver Nutter
I'll reply to this with notes as I go. AliasInstr has operands that are StringLiteral. The arguments to an alias can never be a Ruby String, they can only ever be a simple token (alias foo bar) or symbol-like tokens (alias :foo :bar). I don't think the operand should be a string literal, since we