summaryrefslogtreecommitdiff
path: root/src/vm/eetwain.cpp
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-01-24 14:50:05 +0900
committerJan Kotas <jkotas@microsoft.com>2017-01-23 21:50:05 -0800
commit0a0696ed88fe3b3240557bf9a432b723ccb1ff7e (patch)
treec5a6aa29bdd530feb1c57a6d598ba74bf06a6a65 /src/vm/eetwain.cpp
parent9de7737437cd578b30c5332222a135db1f8d227c (diff)
downloadcoreclr-0a0696ed88fe3b3240557bf9a432b723ccb1ff7e.tar.gz
coreclr-0a0696ed88fe3b3240557bf9a432b723ccb1ff7e.tar.bz2
coreclr-0a0696ed88fe3b3240557bf9a432b723ccb1ff7e.zip
Clean up #else in EECodeManager::GetAmbientSP (#9049)
Diffstat (limited to 'src/vm/eetwain.cpp')
-rw-r--r--src/vm/eetwain.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/vm/eetwain.cpp b/src/vm/eetwain.cpp
index 538d6a22a5..414f8f3a73 100644
--- a/src/vm/eetwain.cpp
+++ b/src/vm/eetwain.cpp
@@ -5812,6 +5812,7 @@ void EECodeManager::EnumMemoryRegions(CLRDataEnumMemoryFlags flags)
#endif // #ifdef DACCESS_COMPILE
+#ifdef _TARGET_X86_
/*
* GetAmbientSP
*
@@ -5834,7 +5835,6 @@ TADDR EECodeManager::GetAmbientSP(PREGDISPLAY pContext,
SUPPORTS_DAC;
} CONTRACTL_END;
-#ifdef _TARGET_X86_
GCInfoToken gcInfoToken = pCodeInfo->GetGCInfoToken();
_ASSERTE(sizeof(CodeManStateBuf) <= sizeof(pState->stateBuf));
@@ -5907,12 +5907,8 @@ TADDR EECodeManager::GetAmbientSP(PREGDISPLAY pContext,
}
return baseSP;
-
-#else // !_TARGET_X86_
- PORTABILITY_ASSERT("EECodeManager::GetAmbientSP is not implemented on this platform.");
- return 0;
-#endif // _TARGET_X86_
}
+#endif // _TARGET_X86_
/*
Get the number of bytes used for stack parameters.