Bug 1486906 - fill in a missing case for aarch64 windows in platform-win32.cpp; r=mstange

This commit is contained in:
Nathan Froyd 2018-08-28 15:58:12 -04:00
Родитель 54b40649ea
Коммит 3fe17471e7
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -66,6 +66,10 @@ PopulateRegsFromContext(Registers& aRegs, CONTEXT* aContext)
aRegs.mPC = reinterpret_cast<Address>(aContext->Eip);
aRegs.mSP = reinterpret_cast<Address>(aContext->Esp);
aRegs.mFP = reinterpret_cast<Address>(aContext->Ebp);
#elif defined(GP_ARCH_arm64)
aRegs.mPC = reinterpret_cast<Address>(aContext->Pc);
aRegs.mSP = reinterpret_cast<Address>(aContext->Sp);
aRegs.mFP = reinterpret_cast<Address>(aContext->Fp);
#else
#error "bad arch"
#endif