Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Replace some sizeof-s with target specific constants #18245

Merged
merged 5 commits into from Jun 4, 2018
Merged

Replace some sizeof-s with target specific constants #18245

merged 5 commits into from Jun 4, 2018

Commits on Jun 1, 2018

  1. Copy the full SHA
    0ce6199 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2018

  1. Copy the full SHA
    670290b View commit details
    Browse the repository at this point in the history
  2. Define target-specific constants

    * OBJHEADER_SIZE
    * OBJECT_SIZE
    * OBJECT_BASESIZE
    * ARRAYBASE_SIZE
    * ARRAYBASE_BASESIZE
    
    and use them instead of corresponding expressions
    
    * sizeof(ObjHeader)
    * sizeof(Object)
    * ObjSizeOf(Object)
    * sizeof(ArrayBase)
    * ObjSizeOf(ArrayBase)
    echesakov committed Jun 3, 2018
    Copy the full SHA
    239c165 View commit details
    Browse the repository at this point in the history
  3. Remove ObjSizeOf

    echesakov committed Jun 3, 2018
    Copy the full SHA
    39d3920 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    f49e714 View commit details
    Browse the repository at this point in the history