Clean up dummy implementation in regdisp.h (dotnet/coreclr#9643)
authorJonghyun Park <parjong@gmail.com>
Fri, 17 Feb 2017 09:27:17 +0000 (18:27 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Fri, 17 Feb 2017 09:27:17 +0000 (10:27 +0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/0143d5ca5bf5a14dfd9f4286b1b062352a95bf2e

src/coreclr/src/inc/regdisp.h

index befff68..90669dc 100644 (file)
@@ -275,28 +275,7 @@ inline TADDR GetRegdisplayStackMark(REGDISPLAY *display) {
 }
 
 #else // none of the above processors
-
-PORTABILITY_WARNING("RegDisplay functions are not implemented on this platform.")
-
-struct REGDISPLAY : public REGDISPLAY_BASE {
-    size_t * FramePtr;
-    SLOT   * pPC;
-};
-
-inline TADDR GetRegdisplayFP(REGDISPLAY *display) {
-    LIMITED_METHOD_CONTRACT;
-    return (TADDR)*(display->FramePtr);
-}
-
-inline BOOL IsInCalleesFrames(REGDISPLAY *display, LPVOID stackPointer) {
-    LIMITED_METHOD_CONTRACT;
-    return FALSE;
-}
-inline LPVOID GetRegdisplayStackMark(REGDISPLAY *display) {
-    LIMITED_METHOD_CONTRACT;
-    return (LPVOID)display->SP;
-}
-
+#error "RegDisplay functions are not implemented on this platform."
 #endif
 
 #if defined(_WIN64) || defined(_TARGET_ARM_) || (defined(_TARGET_X86_) && defined(WIN64EXCEPTIONS))