Compare commits

...
Author SHA1 Message Date
Jackson Harper 203611f08d * Cursor.cs: We want the override cursor to be reset to NULL
* when
        we set current cursor to the default cursor.        


svn path=/branches/mono-1-2-3/mcs/; revision=72324
2007-02-05 20:07:52 +00:00
Jackson Harper 482857356b * TreeView.cs: We need to check scrollbar visibility when window
visibility is updated, because non visible trees don't ever add
        scrollbars.


svn path=/branches/mono-1-2-3/mcs/; revision=72314
2007-02-05 17:46:30 +00:00
Miguel de Icaza b0fda83a1a Backport to the branch
svn path=/branches/mono-1-2-3/mcs/; revision=72189
2007-02-02 18:07:00 +00:00
Jackson Harper 0ce41fadb2 * XplatUIX11.cs: Don't break when handling button release in
* drag
        and drop operations. We need that BUTTONUP message to get
through
        so capture is released.
        * X11Dnd.cs: We don't need to manually grab the pointer anymore,
        this is handled automatically when the mouse is down.


svn path=/branches/mono-1-2-3/mcs/; revision=72006
2007-01-30 22:40:57 +00:00
Miguel de Icaza 426ae45990 Fix for 80320 from Atsushi
svn path=/branches/mono-1-2-3/mcs/; revision=71983
2007-01-30 17:22:17 +00:00
Miguel de Icaza 6741081c6d Backport of 71948/trunk to fix #80669
svn path=/branches/mono-1-2-3/mcs/; revision=71974
2007-01-30 16:14:38 +00:00
Chris Toshok e2a36cf6bd x2007-01-29 Chris Toshok <[email protected]>
* XplatUIX11.cs: don't crash, and remove the icon if the user has
	set one, if SetIcon is passed a null icon.


svn path=/branches/mono-1-2-3/mcs/; revision=71938
2007-01-30 00:42:15 +00:00
Andreia Gaita 7690886912 * TextBox.cs: Redraw when the password characters changes
* TextControl.cs: Check if textbox has a password char and draw 
a line of password chars instead of the text in the line. LineTag gets 
an extra Draw() method which allows document.Draw to override the text 
that will be drawn. Removes 1024 char limitation on length of passworded 
lines.

2007-01-29  Andreia Gaita  <[email protected]>

svn path=/branches/mono-1-2-3/mcs/; revision=71902
2007-01-29 17:07:14 +00:00
Martin Baulig bfda958d99 Merged r71871 from HEAD.
svn path=/branches/mono-1-2-3/mcs/; revision=71898
2007-01-29 16:19:33 +00:00
Jonathan Pobst 07a339f2af 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
[Backport to 1-2-3 -jpobst]
	* XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
	we don't want to activate any windows. Fixes #79433.

svn path=/branches/mono-1-2-3/mcs/; revision=71897
2007-01-29 16:13:41 +00:00
Jonathan Pobst d4f15796b7 2007-01-28 Jonathan Pobst <[email protected]>
[Backport to 1-2-3]
	* TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
	one pixel.  Fix a StackOverflowException caused by an overload wrongly
	calling itself.

svn path=/branches/mono-1-2-3/mcs/; revision=71895
2007-01-29 16:07:50 +00:00
Paolo Molaro e8667dc436 Mon Jan 29 16:51:33 CET 2007 Paolo Molaro <[email protected]>
* MonoSymbolWriter.cs: unlink the file before writing it, since it may
	be mmapped by the runtime.


svn path=/branches/mono-1-2-3/mcs/; revision=71894
2007-01-29 16:05:49 +00:00
Paolo Molaro 72ebeaeac8 Mon Jan 29 11:30:46 CET 2007 Paolo Molaro <[email protected]>
* marshal.c: fix from Robert Jordan ([email protected])
	for bug #80618.


svn path=/branches/mono-1-2-3/mono/; revision=71856
2007-01-29 10:35:35 +00:00
Miguel de Icaza bdcfb67cb2 Backport for fix #80358, from trunk/71790
svn path=/branches/mono-1-2-3/mcs/; revision=71794
2007-01-27 19:23:09 +00:00
Miguel de Icaza 9c7c840255 Backport to the bracnh the fix for #80622; from trunk/r71791
svn path=/branches/mono-1-2-3/mono/; revision=71793
2007-01-27 19:20:21 +00:00
Miguel de Icaza 661b6f82ba backport fix from 71774/head
svn path=/branches/mono-1-2-3/mcs/; revision=71775
2007-01-27 01:10:49 +00:00
Miguel de Icaza 8d017cb332 Backport
svn path=/branches/mono-1-2-3/mcs/; revision=71771
2007-01-26 23:42:12 +00:00
Miguel de Icaza e56ee555c0 Backport to the branch, from 71727/trunk
svn path=/branches/mono-1-2-3/mcs/; revision=71728
2007-01-25 22:37:16 +00:00
Wade Berrier e79cbac0be * configure.in: version bump -> 1.2.3
svn path=/branches/mono-1-2-3/mono/; revision=71644
2007-01-25 05:57:17 +00:00
27 changed files with 190 additions and 89 deletions

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
2007-01-24 Wade Berrier <[email protected]>
* configure.in: version bump -> 1.2.3
2007-01-12 Gert Driesen <[email protected]>
* scripts/Makefile.am: Added 'al2'.
+1 -1
View File
@@ -6,7 +6,7 @@ AC_CANONICAL_SYSTEM
m4_ifdef([_A][M_PROG_TAR],[_A][M_SET_OPTION([tar-ustar])])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,1.2)
AM_INIT_AUTOMAKE(mono,1.2.3)
AM_MAINTAINER_MODE
API_VER=1.0
@@ -1,3 +1,44 @@
2007-02-05 Jackson Harper <[email protected]>
* TreeView.cs: We need to check scrollbar visibility when window
visibility is updated, because non visible trees don't ever add
scrollbars.
* Cursor.cs: We want the override cursor to be reset to NULL when
we set current cursor to the default cursor.
2007-01-30 Jackson Harper <[email protected]>
* XplatUIX11.cs: Don't break when handling button release in drag
and drop operations. We need that BUTTONUP message to get through
so capture is released.
* X11Dnd.cs: We don't need to manually grab the pointer anymore,
this is handled automatically when the mouse is down.
2007-01-29 Chris Toshok <[email protected]>
* XplatUIX11.cs: don't crash, and remove the icon if the user has
set one, if SetIcon is passed a null icon.
2007-01-29 Andreia Gaita <[email protected]>
* TextBox.cs: Redraw when the password characters changes
* TextControl.cs: Check if textbox has a password char and draw
a line of password chars instead of the text in the line. LineTag gets
an extra Draw() method which allows document.Draw to override the text
that will be drawn. Removes 1024 char limitation on length of passworded
lines.
2007-01-25 Rolf Bjarne Kvinge <[email protected]>
[Backport to 1-2-3 -jpobst]
* XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
we don't want to activate any windows. Fixes #79433.
2007-01-28 Jonathan Pobst <[email protected]>
[Backport to 1-2-3]
* TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
one pixel. Fix a StackOverflowException caused by an overload wrongly
calling itself.
2007-01-24 Chris Toshok <[email protected]>
* XplatUIX11.cs: fix the wake_waiting logic - we always clear the
@@ -200,7 +200,7 @@ namespace System.Windows.Forms {
set {
if (current != value) {
current = value;
if (current == null){
if (current == null || current == Cursors.Default){
// FIXME - define and set empty cursor
XplatUI.OverrideCursor(IntPtr.Zero);
} else
@@ -226,6 +226,7 @@ namespace System.Windows.Forms {
} else {
document.PasswordChar = "";
}
this.CalculateDocument();
}
}
}
@@ -872,22 +872,23 @@ namespace System.Windows.Forms {
set {
password_char = value;
PasswordCache.Length = 0;
if ((password_char.Length != 0) && (password_char[0] != '\0')) {
char ch;
calc_pass = true;
ch = value[0];
password_cache = new StringBuilder(1024);
for (int i = 0; i < 1024; i++) {
password_cache.Append(ch);
}
} else {
calc_pass = false;
password_cache = null;
}
}
}
private StringBuilder PasswordCache {
get {
if (password_cache == null)
password_cache = new StringBuilder();
return password_cache;
}
}
internal int ViewPortX {
get {
return viewport_x;
@@ -1849,8 +1850,11 @@ namespace System.Windows.Forms {
if (!calc_pass) {
text = line.text;
} else {
// This fails if there's a password > 1024 chars...
text = this.password_cache;
if (PasswordCache.Length < line.text.Length)
PasswordCache.Append(Char.Parse(password_char), line.text.Length - PasswordCache.Length);
else if (PasswordCache.Length > line.text.Length)
PasswordCache.Remove(line.text.Length, PasswordCache.Length - line.text.Length);
text = PasswordCache;
}
int line_selection_start = text.Length + 1;
@@ -1934,7 +1938,8 @@ namespace System.Windows.Forms {
tag.Draw (g, current_brush,
line.widths [old_tag_pos - 1] + line.align_shift - viewport_x,
line.Y + tag.shift - viewport_y,
old_tag_pos - 1, Math.Min (tag.length, tag_pos - old_tag_pos));
old_tag_pos - 1, Math.Min (tag.length, tag_pos - old_tag_pos),
text.ToString() );
}
tag = tag.next;
}
@@ -4275,6 +4280,10 @@ namespace System.Windows.Forms {
dc.DrawString (line.text.ToString (start, end), font, brush, x, y, StringFormat.GenericTypographic);
}
internal virtual void Draw (Graphics dc, Brush brush, float x, float y, int start, int end, string text) {
dc.DrawString (text.Substring (start, end), font, brush, x, y, StringFormat.GenericTypographic);
}
///<summary>Break a tag into two with identical attributes; pos is 1-based; returns tag starting at &gt;pos&lt; or null if end-of-line</summary>
internal LineTag Break(int pos) {
@@ -268,7 +268,8 @@ namespace System.Windows.Forms
internal static void DrawTextInternal (IDeviceContext dc, string text, Font font, Point pt, Color foreColor, Color backColor, TextFormatFlags flags, bool useDrawString)
{
DrawTextInternal (dc, text, font, pt, foreColor, backColor, flags, useDrawString);
Size sz = MeasureTextInternal (dc, text, font, useDrawString);
DrawTextInternal (dc, text, font, new Rectangle (pt, sz), foreColor, backColor, flags, useDrawString);
}
internal static Size MeasureTextInternal (string text, Font font, bool useMeasureString)
@@ -379,7 +380,6 @@ namespace System.Windows.Forms
}
if ((flags & TextFormatFlags.VerticalCenter) == TextFormatFlags.VerticalCenter) {
r.Y += 1;
r.Height -= 1;
}
return r;
@@ -409,7 +409,6 @@ namespace System.Windows.Forms
}
if ((flags & TextFormatFlags.VerticalCenter) == TextFormatFlags.VerticalCenter) {
r.Y += 1;
r.Height -= 1;
}
return r;
@@ -432,13 +431,9 @@ namespace System.Windows.Forms
[DllImport ("gdi32")]
static extern int SetBkMode (IntPtr hdc, int iBkMode);
[DllImport ("gdi32")]
static extern bool GetTextExtentPoint32 (IntPtr hdc, string lpString, int cbString, out UXTheme.SIZE lpSize);
[DllImport ("gdi32")]
static extern bool DeleteObject (IntPtr objectHandle);
#endregion
}
}
#endif
@@ -112,6 +112,7 @@ namespace System.Windows.Forms {
LostFocus += new EventHandler (LostFocusHandler);
GotFocus += new EventHandler (GotFocusHandler);
MouseWheel += new MouseEventHandler(MouseWheelHandler);
VisibleChanged += new EventHandler (VisibleChangedHandler);
SetStyle (ControlStyles.UserPaint | ControlStyles.StandardClick
#if NET_2_0
@@ -1534,6 +1535,13 @@ namespace System.Windows.Forms {
}
}
private void VisibleChangedHandler (object sender, EventArgs e)
{
if (Visible) {
UpdateScrollBars ();
}
}
private void FontChangedHandler (object sender, EventArgs e)
{
InvalidateNodeWidthRecursive (root_node);
@@ -401,7 +401,6 @@ namespace System.Windows.Forms {
xevent.ButtonEvent.time);
}
XplatUIX11.XUngrabPointer (display, IntPtr.Zero);
drag_data.State = DragState.None;
// WE can't reset the drag data yet as it is still
// most likely going to be used by the SelectionRequest
@@ -429,22 +428,6 @@ namespace System.Windows.Forms {
return false;
}
suc = XplatUIX11.XGrabPointer (display, xevent.AnyEvent.window,
false,
EventMask.ButtonMotionMask |
EventMask.PointerMotionMask |
EventMask.ButtonPressMask |
EventMask.ButtonReleaseMask,
GrabMode.GrabModeAsync,
GrabMode.GrabModeAsync,
IntPtr.Zero, IntPtr.Zero/*CursorCopy.Handle*/, IntPtr.Zero);
if (suc != 0) {
Console.Error.WriteLine ("Could not grab pointer aborting drag.");
drag_data.Reset ();
return false;
}
drag_data.State = DragState.Dragging;
} else if (drag_data.State != DragState.None) {
bool dnd_aware = false;
@@ -1527,7 +1527,7 @@ namespace System.Windows.Forms {
}
internal override void RequestNCRecalc(IntPtr handle) {
Win32SetWindowPos(handle, IntPtr.Zero, 0, 0, 0, 0, SetWindowPosFlags.SWP_FRAMECHANGED | SetWindowPosFlags.SWP_NOOWNERZORDER | SetWindowPosFlags.SWP_NOSIZE | SetWindowPosFlags.SWP_NOMOVE | SetWindowPosFlags.SWP_NOZORDER);
Win32SetWindowPos(handle, IntPtr.Zero, 0, 0, 0, 0, SetWindowPosFlags.SWP_FRAMECHANGED | SetWindowPosFlags.SWP_NOOWNERZORDER | SetWindowPosFlags.SWP_NOSIZE | SetWindowPosFlags.SWP_NOMOVE | SetWindowPosFlags.SWP_NOZORDER | SetWindowPosFlags.SWP_NOACTIVATE);
}
internal override void ResetMouseHover(IntPtr handle) {
@@ -1003,27 +1003,43 @@ namespace System.Windows.Forms {
}
}
private void SetIcon(Hwnd hwnd, Icon icon) {
Bitmap bitmap;
int size;
IntPtr[] data;
int index;
private void SetIcon(Hwnd hwnd, Icon icon)
{
if (icon == null) {
// XXX
bitmap = icon.ToBitmap();
index = 0;
size = bitmap.Width * bitmap.Height + 2;
data = new IntPtr[size];
data[index++] = (IntPtr)bitmap.Width;
data[index++] = (IntPtr)bitmap.Height;
for (int y = 0; y < bitmap.Height; y++) {
for (int x = 0; x < bitmap.Width; x++) {
data[index++] = (IntPtr)bitmap.GetPixel(x, y).ToArgb();
}
// This really needs to do whatever it
// takes to remove the window manager
// menu, not just delete the ICON
// property. This will cause metacity
// to use the "no icon set" icon, and
// we'll still have an icon.
XDeleteProperty (DisplayHandle, hwnd.whole_window, _NET_WM_ICON);
}
else {
Bitmap bitmap;
int size;
IntPtr[] data;
int index;
XChangeProperty(DisplayHandle, hwnd.whole_window, _NET_WM_ICON, (IntPtr)Atom.XA_CARDINAL, 32, PropertyMode.Replace, data, size);
bitmap = icon.ToBitmap();
index = 0;
size = bitmap.Width * bitmap.Height + 2;
data = new IntPtr[size];
data[index++] = (IntPtr)bitmap.Width;
data[index++] = (IntPtr)bitmap.Height;
for (int y = 0; y < bitmap.Height; y++) {
for (int x = 0; x < bitmap.Width; x++) {
data[index++] = (IntPtr)bitmap.GetPixel (x, y).ToArgb ();
}
}
XChangeProperty (DisplayHandle, hwnd.whole_window,
_NET_WM_ICON, (IntPtr)Atom.XA_CARDINAL, 32,
PropertyMode.Replace, data, size);
}
}
private void WakeupMain () {
@@ -3389,7 +3405,7 @@ namespace System.Windows.Forms {
case XEventName.ButtonRelease: {
if (Dnd.InDrag()) {
Dnd.HandleButtonRelease (ref xevent);
break;
// Don't break here, so that the BUTTONUP message can get through
}
switch(xevent.ButtonEvent.button) {
@@ -1,3 +1,14 @@
Mon Jan 29 16:51:33 CET 2007 Paolo Molaro <[email protected]>
* MonoSymbolWriter.cs: unlink the file before writing it, since it may
be mmapped by the runtime.
2007-01-29 Martin Baulig <[email protected]>
* MonoSymbolFile.cs
(MonoSymbolFile.Assembly): Removed this property.
(MonoSymbolFile.Guid): New public property.
2006-09-24 Joshua Tauberer <[email protected]>
* MonoSymbolFile.cs: Allow MonoSymbolFile to be created
@@ -262,7 +262,6 @@ namespace Mono.CompilerServices.SymbolWriter
Write (new MyBinaryWriter (fs), guid);
}
Assembly assembly;
MyBinaryReader reader;
Hashtable method_hash;
Hashtable source_file_hash;
@@ -270,15 +269,13 @@ namespace Mono.CompilerServices.SymbolWriter
Hashtable method_token_hash;
Hashtable source_name_hash;
Guid guid;
protected MonoSymbolFile (string filename, Assembly assembly)
{
this.assembly = assembly;
FileStream stream = new FileStream (filename, FileMode.Open, FileAccess.Read);
reader = new MyBinaryReader (stream);
Guid guid;
try {
long magic = reader.ReadInt64 ();
long version = reader.ReadInt32 ();
@@ -306,7 +303,7 @@ namespace Mono.CompilerServices.SymbolWriter
Module[] modules = assembly.GetModules ();
Guid assembly_guid = MonoDebuggerSupport.GetGuid (modules [0]);
if (guid != assembly_guid)
throw new MonoSymbolFileException (
"Symbol file `{0}' does not match assembly `{1}'",
@@ -330,10 +327,6 @@ namespace Mono.CompilerServices.SymbolWriter
return new MonoSymbolFile (mdbFilename, null);
}
public Assembly Assembly {
get { return assembly; }
}
public int SourceCount {
get { return ot.SourceCount; }
}
@@ -350,6 +343,10 @@ namespace Mono.CompilerServices.SymbolWriter
get { return last_namespace_index; }
}
public Guid Guid {
get { return guid; }
}
internal int LineNumberCount = 0;
internal int LocalCount = 0;
internal int StringSize = 0;
@@ -181,6 +181,12 @@ namespace Mono.CompilerServices.SymbolWriter
method.Method.NamespaceID);
}
try {
// We mmap the file, so unlink the previous version since it may be in use
File.Delete (filename);
} catch {
// We can safely ignore
}
using (FileStream fs = new FileStream (filename, FileMode.Create, FileAccess.Write)) {
file.CreateSymbolFile (guid, fs);
}
@@ -1,3 +1,12 @@
2007-01-26 Miguel de Icaza <[email protected]>
* SqliteParameterCollection.cs: If the parameter is prefixed,
ignore the prefix when we do the lookup. Replicates the behavior
in GetParameter
The code paths changed recently with the 2.0-ification of
Mono.Data.SqliteClient
2007-01-16 Marek Habersack <[email protected]>
* SqliteCommandBuilder.cs: Nothing-to-do implementation of the
@@ -132,9 +132,12 @@ namespace Mono.Data.SqliteClient
#if NET_2_0
protected override DbConnection DbConnection
#else
public SqliteConnection Connection
{
get { return parent_conn; }
set { parent_conn = (SqliteConnection)value; }
}
#endif
public SqliteConnection Connection
{
get { return parent_conn; }
set { parent_conn = (SqliteConnection)value; }
@@ -359,9 +359,14 @@ namespace Mono.Data.SqliteClient
#endif
public int IndexOf (string parameterName)
{
if (isPrefixed (parameterName)){
string sub = parameterName.Substring (1);
if (named_param_hash.Contains(sub))
return (int) named_param_hash [sub];
}
if (named_param_hash.Contains(parameterName))
return (int) named_param_hash[parameterName];
else
else
return -1;
}
@@ -1025,7 +1025,7 @@ namespace System.Web {
string[] languages = request.UserLanguages;
try {
if (languages != null && languages.Length > 0)
ret = new CultureInfo (languages[0]);
ret = CultureInfo.CreateSpecificCulture (languages[0]);
} catch {
}
@@ -1,3 +1,7 @@
2007-01-30 Atsushi Enomoto <[email protected]>
* Expression.cs : typo. Close #80669
2007-01-05 Atsushi Enomoto <[email protected]>
* Expression.cs : text() should match whitespace and significant
@@ -1367,9 +1367,9 @@ namespace System.Xml.XPath
case Axes.Parent:
return "parent";
case Axes.Preceding:
return "preceeding";
return "preceding";
case Axes.PrecedingSibling:
return "preceeding-sibling";
return "preceding-sibling";
case Axes.Self:
return "self";
default:
+3 -3
View File
@@ -121,9 +121,9 @@ namespace System
#else
return DateTime.MaxValue;
#endif
//} else if (utcOffset.Ticks < 0) {
// LAMESPEC: MS.NET fails to check validity here
// it may throw ArgumentOutOfRangeException.
} else if (utcOffset.Ticks < 0) {
if (time.Ticks + utcOffset.Ticks < DateTime.MinValue.Ticks)
return DateTime.MinValue;
}
DateTime local = time.Add (utcOffset);
+6
View File
@@ -1,3 +1,9 @@
2007-01-27 Raja R Harinath <[email protected]>
Fix #80358
* decl.cs (DeclSpace.initialize_type_params): Don't access
'type_params' of a partial class directly.
2007-01-25 Marek Safar <[email protected]>
* expression.cs (CheckUselessComparison): Add additional check for char
+6 -8
View File
@@ -1158,16 +1158,14 @@ namespace Mono.CSharp {
the_parent = null;
int start = 0;
TypeParameter[] parent_params = null;
if ((the_parent != null) && the_parent.IsGeneric) {
parent_params = the_parent.initialize_type_params ();
start = parent_params != null ? parent_params.Length : 0;
}
ArrayList list = new ArrayList ();
if (parent_params != null)
if (the_parent != null && the_parent.IsGeneric) {
// FIXME: move generics info out of DeclSpace
TypeParameter[] parent_params = the_parent.PartialContainer.TypeParameters;
start = parent_params.Length;
list.AddRange (parent_params);
}
int count = type_params != null ? type_params.Length : 0;
for (int i = 0; i < count; i++) {
TypeParameter param = type_params [i];
+3 -2
View File
@@ -332,8 +332,9 @@ namespace Mono.CSharp {
return new UIntConstant (~((UIntConstant)e).Value, e.Location);
if (expr_type == TypeManager.int64_type)
return new LongConstant (~((LongConstant)e).Value, e.Location);
if (expr_type == TypeManager.uint64_type)
return new ULongConstant (~((UIntConstant)e).Value, e.Location);
if (expr_type == TypeManager.uint64_type){
return new ULongConstant (~((ULongConstant)e).Value, e.Location);
}
if (e is EnumConstant) {
e = TryReduceConstant (ec, ((EnumConstant)e).Child);
if (e != null)
+6
View File
@@ -1,3 +1,9 @@
Mon Jan 29 11:30:46 CET 2007 Paolo Molaro <[email protected]>
* marshal.c: fix from Robert Jordan ([email protected])
for bug #80618.
2007-01-24 Zoltan Varga <[email protected]>
* class.c (mono_class_layout_fields): When force-aligning a field, make sure
+1 -1
View File
@@ -4558,7 +4558,7 @@ mono_marshal_get_runtime_invoke (MonoMethod *method)
sig = mono_method_signature (method);
csig = mono_metadata_signature_alloc (method->klass->image, 4);
csig = mono_metadata_signature_alloc (target_klass->image, 4);
csig->ret = &mono_defaults.object_class->byval_arg;
if (method->klass->valuetype && mono_method_signature (method)->hasthis)
-2
View File
@@ -1691,7 +1691,6 @@ peephole_pass (MonoCompile *cfg, MonoBasicBlock *bb)
#endif
}
break;
case OP_LOADU1_MEMBASE:
case OP_LOADI1_MEMBASE:
/*
* Note: if reg1 = reg2 the load op is removed
@@ -1716,7 +1715,6 @@ peephole_pass (MonoCompile *cfg, MonoBasicBlock *bb)
}
}
break;
case OP_LOADU2_MEMBASE:
case OP_LOADI2_MEMBASE:
/*
* Note: if reg1 = reg2 the load op is removed