Skip to content

Conversation

@LouisLaf
Copy link
Collaborator

Properly cast to uint32 a TyUint32 offset to avoid having it sign extended to 64bit on x64.

@msftclas
Copy link

Hi @LouisLaf, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (Louis Lafreniere). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@MikeHolman
Copy link
Contributor

LGTM. Opnd typing in this function is a bit confusing though. Can you change the CompareBranch a few lines down to use TyUint32? JavascriptString::m_charLength is uint32 (and we're doing unsigned compare), so would help clarity.

@LouisLaf LouisLaf force-pushed the intconst branch 2 times, most recently from 03a7217 to d22a82c Compare February 13, 2016 03:04
Properly cast to uint32 a TyUint32 offset to avoid having it sign extended to 64bit on x64.
@chakrabot chakrabot merged commit 3c03876 into chakra-core:master Feb 29, 2016
chakrabot pushed a commit that referenced this pull request Feb 29, 2016
Merge pull request #295 from LouisLaf:intconst
Properly cast to uint32 a TyUint32 offset to avoid having it sign extended to 64bit on x64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants