Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/jit/lower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5595,10 +5595,10 @@ void Lowering::getCastDescription(GenTree* treeNode, CastInfo* castInfo)

if (castInfo->requiresOverflowCheck)
{
ssize_t typeMin = 0;
ssize_t typeMax = 0;
ssize_t typeMask = 0;
bool signCheckOnly = false;
target_ssize_t typeMin = 0;
target_ssize_t typeMax = 0;
target_ssize_t typeMask = 0;
bool signCheckOnly = false;

// Do we need to compare the value, or just check masks
switch (dstType)
Expand Down
8 changes: 4 additions & 4 deletions src/jit/lower.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ class Lowering : public Phase

// All other fields are only meaningful if requiresOverflowCheck is set.

ssize_t typeMin; // Lowest storable value of the dest type
ssize_t typeMax; // Highest storable value of the dest type
ssize_t typeMask; // For converting from/to unsigned
bool signCheckOnly; // For converting between unsigned/signed int
target_ssize_t typeMin; // Lowest storable value of the dest type
target_ssize_t typeMax; // Highest storable value of the dest type
target_ssize_t typeMask; // For converting from/to unsigned
bool signCheckOnly; // For converting between unsigned/signed int
};

static void getCastDescription(GenTree* treeNode, CastInfo* castInfo);
Expand Down