FBRetainCycleDetector icon indicating copy to clipboard operation
FBRetainCycleDetector copied to clipboard

Questions about elements in FBBlockStrongLayout

Open iCodeWoods opened this issue 4 years ago • 0 comments

in _GetBlockStrongLayout has these code, but why is it calculated like this? thx

  // Figure out the number of pointers it takes to fill out the object, rounding up.
  const size_t elements = (blockLiteral->descriptor->size + ptrSize - 1) / ptrSize;

iCodeWoods avatar Jan 11 '21 23:01 iCodeWoods