Imported Upstream version 4.0.1.34

Former-commit-id: 7cbb4dcca51973689b8ece97588cddda2e4d01bb
This commit is contained in:
Xamarin Public Jenkins
2015-05-15 05:29:36 -04:00
parent 2e0d90627e
commit 50adc63821
36 changed files with 41 additions and 70 deletions

View File

@@ -2246,9 +2246,9 @@ mono_decimal_compare (MonoDecimal *left, MonoDecimal *right)
}
//
// Signs are different. Used signed byte compares
// Signs are different. Use signed byte comparison
//
if ((char)left_sign > (char)right_sign)
if ((signed char)left_sign > (signed char)right_sign)
return MONO_DECIMAL_CMP_GT;
return MONO_DECIMAL_CMP_LT;
}

View File

@@ -804,7 +804,7 @@ ves_icall_System_Diagnostics_Process_GetProcesses_internal (void)
}
procs = mono_array_new (mono_domain_get (), mono_get_int32_class (), count);
if (sizeof (guint32) == sizeof (gpointer)) {
memcpy (mono_array_addr (procs, guint32, 0), pidarray, count);
memcpy (mono_array_addr (procs, guint32, 0), pidarray, count * sizeof (gint32));
} else {
for (i = 0; i < count; ++i)
*(mono_array_addr (procs, guint32, i)) = GPOINTER_TO_UINT (pidarray [i]);

View File

@@ -139,7 +139,7 @@ i8const: dest:i len:20
icompare: src1:i src2:i len:4
icompare_imm: src1:i len:18
iconst: dest:i len:40
jmp: len:46
jmp: len:50
label: len:0
lcall: dest:o len:22 clob:c
lcall_membase: dest:o src1:b len:12 clob:c

View File

@@ -1 +1 @@
#define FULL_VERSION "(detached/f802480"
#define FULL_VERSION "(detached/6d5afc1"