Skip to content

Instantly share code, notes, and snippets.

View vargaz's full-sized avatar

Zoltan Varga vargaz

View GitHub Profile
### Keybase proof
I hereby claim:
* I am vargaz on github.
* I am vargaz (https://keybase.io/vargaz) on keybase.
* I have a public key whose fingerprint is 6DAB 33DB C8D7 1D0C AED3 0EE2 9553 1057 E1CF 482B
To claim this, I am signing this object:
diff --git a/profiles/mono-mac-release/packaging/mdk_blacklist.sh b/profiles/mono-mac-release/packaging/mdk_blacklist.sh
index ab426a7..405541b 100755
--- a/profiles/mono-mac-release/packaging/mdk_blacklist.sh
+++ b/profiles/mono-mac-release/packaging/mdk_blacklist.sh
@@ -133,3 +133,6 @@ rm -rf bin/ccache
# everything in Facades
find ./lib/mono/4.5/Facades -name "*.mdb" -delete
+
+# Don't need autotools
diff --git a/mono/mini/mini-amd64.c b/mono/mini/mini-amd64.c
index 56a145d..c35e141 100644
--- a/mono/mini/mini-amd64.c
+++ b/mono/mini/mini-amd64.c
@@ -3007,7 +3007,8 @@ emit_call_body (MonoCompile *cfg, guint8 *code, guint32 patch_type, gconstpointe
jinfo = g_hash_table_lookup (cfg->abs_patches, data);
if (jinfo) {
if (jinfo->type == MONO_PATCH_INFO_JIT_ICALL_ADDR) {
- if ((((guint64)data) >> 32) == 0)
+ MonoJitICallInfo *mi = mono_find_jit_icall_by_name (jinfo->data.name);
public class Foo<T>
{
public static void bar () {
int i;
Action a = delegate () {
i = 0;
};
}
diff --git a/mono/mini/tramp-mips.c b/mono/mini/tramp-mips.c
index aac6eb0..c9b5870 100644
--- a/mono/mini/tramp-mips.c
+++ b/mono/mini/tramp-mips.c
@@ -109,7 +109,9 @@ mono_arch_patch_plt_entry (guint8 *code, gpointer *got, mgreg_t *regs, guint8 *a
* STACK would be 444 for 32 bit darwin
*/
-#define STACK (4*IREG_SIZE + 8 + sizeof(MonoLMF) + 32)
+#define ALIGN_TO(val,align) ((((guint64)val) + ((align) - 1)) & ~((align) - 1))
diff --git a/mono/mini/tramp-mips.c b/mono/mini/tramp-mips.c
index aac6eb0..c9b5870 100644
--- a/mono/mini/tramp-mips.c
+++ b/mono/mini/tramp-mips.c
@@ -109,7 +109,9 @@ mono_arch_patch_plt_entry (guint8 *code, gpointer *got, mgreg_t *regs, guint8 *a
* STACK would be 444 for 32 bit darwin
*/
-#define STACK (4*IREG_SIZE + 8 + sizeof(MonoLMF) + 32)
+#define ALIGN_TO(val,align) ((((guint64)val) + ((align) - 1)) & ~((align) - 1))
MCS [net_4_5] mscorlib.dll
System.IO/Stream.cs(300,21): error CS1644: Feature `asynchronous functions' cannot be used because it is not part of the C# 4.0 language specification
System.Threading.Tasks/Task.cs(991,21): error CS1644: Feature `asynchronous functions' cannot be used because it is not part of the C# 4.0 language specification
Compilation failed: 2 error(s), 0 warnings