aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/cil32/gcc4net.cs
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/cil32/gcc4net.cs')
-rw-r--r--gcc/config/cil32/gcc4net.cs14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/cil32/gcc4net.cs b/gcc/config/cil32/gcc4net.cs
index fff17f545a9..3321a55b4ff 100644
--- a/gcc/config/cil32/gcc4net.cs
+++ b/gcc/config/cil32/gcc4net.cs
@@ -52,12 +52,10 @@ namespace gcc4net {
}
public unsafe static void Startup() {
- Module mainModule;
Assembly assembly;
Type type;
// Find the module that contains the "main" function.
- mainModule = null;
assembly = Assembly.GetEntryAssembly();
type = assembly.GetType("<Module>");
// Invoke the application's ".init" function, if present.
@@ -90,17 +88,5 @@ namespace gcc4net {
public static long __absti2(long a) { return (a>=0) ? a : -a; }
public static float __abssf2(float a) { return (a>=0) ? a : -a; }
public static double __absdf2(double a) { return (a>=0) ? a : -a; }
-
- unsafe public static void memset(void* dest , byte val, int len) {
- byte* ptr = (byte*)dest;
- while (len-- > 0)
- *ptr++ = val;
- }
- unsafe public static void memcpy (void* dest, void* src, int len) {
- byte* d = (byte*)dest;
- byte* s = (byte*)src;
- while (len-- > 0)
- *d++ = *s++;
- }
}
}