Remove the CPP stubs and ensure to mark the leaf end
authorGeoff Norton <grompf@gmail.com>
Wed, 11 Feb 2015 19:31:28 +0000 (11:31 -0800)
committerGeoff Norton <grompf@gmail.com>
Wed, 11 Feb 2015 19:31:28 +0000 (11:31 -0800)
src/vm/amd64/crthelpers.S
src/vm/amd64/unixstubs.cpp

index 0b36e00..78fdea8 100644 (file)
@@ -26,7 +26,7 @@ LEAF_ENTRY JIT_MemSet, _TEXT
 Exit_MemSet:
         ret
 
-LEAF_END JIT_MemSet, _TEXT
+LEAF_END_MARKED JIT_MemSet, _TEXT
 
 LEAF_ENTRY JIT_MemCpy, _TEXT
         test rdx, rdx
@@ -40,4 +40,4 @@ LEAF_ENTRY JIT_MemCpy, _TEXT
 Exit_MemCpy:
         ret
 
-LEAF_END JIT_MemCpy, _TEXT
+LEAF_END_MARKED JIT_MemCpy, _TEXT
index c51ca40..1af5683 100644 (file)
@@ -117,24 +117,6 @@ extern "C"
         return eax;
     }
     
-    void STDCALL JIT_MemCpy(void *dest, const void *src, SIZE_T count)
-    {
-        PORTABILITY_ASSERT("Implement for PAL");
-    }
-
-    void STDCALL JIT_MemCpy_End()
-    {
-    }
-
-    void STDCALL JIT_MemSet(void *dest, int c, SIZE_T count)
-    {
-        PORTABILITY_ASSERT("Implement for PAL");
-    }
-
-    void STDCALL JIT_MemSet_End()
-    {
-    }
-
     void STDCALL JIT_ProfilerEnterLeaveTailcallStub(UINT_PTR ProfilerHandle)
     {
     }