Skip to content

Commit 94ca210

Browse files
committed
arm/arm64 cleanup
1 parent 6a29ddf commit 94ca210

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/Backend/Encoder.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,7 @@ Encoder::Encode()
333333
pdataCount = 1;
334334
xdataSize = XDATA_SIZE;
335335
#elif defined(_M_ARM)
336-
#pragma warning(push)
337-
#pragma warning(disable:4244) // warning C4244: 'argument': conversion from 'ptrdiff_t' to 'DWORD', possible loss of data
338336
pdataCount = (ushort)m_func->m_unwindInfo.GetPDataCount(codeSize);
339-
#pragma warning(pop)
340337
xdataSize = (UnwindInfoManager::MaxXdataBytes + 3) * pdataCount;
341338
#else
342339
xdataSize = 0;

lib/Backend/Lower.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4703,6 +4703,8 @@ Lowerer::GenerateCallProfiling(Js::ProfileId profileId, Js::InlineCacheIndex inl
47034703
Assert(callInstr->m_opcode == Js::OpCode::CALL);
47044704
#elif defined(_M_ARM)
47054705
Assert(callInstr->m_opcode == Js::OpCode::BLX);
4706+
#elif defined(_M_ARM64)
4707+
Assert(callInstr->m_opcode == Js::OpCode::BLR);
47064708
#endif
47074709
Func*const func = insertAfter->m_func;
47084710

0 commit comments

Comments
 (0)