A small addition to support constants as well.
Kornél
- Original Message -
From: "Kornél Pál" <[EMAIL PROTECTED]>
To: ; "Rolf Bjarne" <[EMAIL PROTECTED]>
Sent: Saturday, September 09, 2006 2:29 PM
Subject: [Mono-dev] [PATCH] [VBNC] Treat AscW as CInt
Hi,
Finally I was able to implement this feature completely without causing any
errors.
I think this is a proper implementation but if you have any suggestions or
objections please let me know.
Kornél
AscW.diff
Description: Binary data
___
Mono
OTECTED]>
To: "Kornél Pál" <[EMAIL PROTECTED]>;
Sent: Wednesday, September 06, 2006 1:48 PM
Subject: Re: [Mono-dev] [PATCH] [VBNC] Treat AscW as CInt with
/novbruntimeref
Hello,
Commenting code inline:
+If Info.Compiler.CommandLine.NoVBRuntimeRef AndAlso
Info
Hello,
Commenting code inline:
+If Info.Compiler.CommandLine.NoVBRuntimeRef AndAlso
Info.Compiler.Assembly.IsDefinedHere(Method.DeclaringType) AndAlso
Method.IsStatic AndAlso CompareNameOrdinal(Method.Name, "AscW") Then
+Dim methodParameters() As ParameterInfo =
Method.G
Hi,
I added a hack to EmitArgumentsAndCallOrCallVirt to support the previously
discussed functionality.
I don't know how exactly the stack evaluation in vbnc works and I keep
getting ... reached, but stack is not empty.
Another missing functionality is that the return value of this replace