// Check if the total number of PEIMs exceed the bitmap.\r
// CurrentPeim is 0-based\r
//\r
- DEBUG_CODE (\r
- if (CurrentPeim > (sizeof (*DispatchedPeimBitMap) * 8 - 1)) {\r
- ASSERT_EFI_ERROR (EFI_OUT_OF_RESOURCES);\r
- }\r
- );\r
-\r
+ ASSERT (CurrentPeim < (sizeof (*DispatchedPeimBitMap) * 8));\r
*DispatchedPeimBitMap |= (1 << CurrentPeim);\r
return;\r
}\r