Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend return register lifetime #3264

Merged
merged 2 commits into from
Jun 29, 2017

Conversation

Cellule
Copy link
Contributor

@Cellule Cellule commented Jun 29, 2017

Keep the Ret instruction to extend the lifetime of the return register(s) then remove it in FinalLower.

Fixing a bug in wasm int64 returns on x86 where edx is reused to reload a spilled value for eax.

Fixes OSG 12195427


This change is Reviewable

…ter(s) then remove it in FinalLower.

Fixing a bug in wasm int64 returns on x86  where edx is reused to reload a spilled value for eax.
@Cellule Cellule self-assigned this Jun 29, 2017
@Cellule Cellule added the Bug label Jun 29, 2017
@Cellule Cellule added this to the 1.6 milestone Jun 29, 2017
@LouisLaf
Copy link
Collaborator

{

Should also fix ARM's LowerRet() for consistency.


Refers to: lib/Backend/arm/LowerMD.cpp:2426 in bb4e9fa. [](commit_id = bb4e9fa, deletion_comment = False)

@LouisLaf
Copy link
Collaborator

:shipit:

@chakrabot chakrabot merged commit bf376ec into chakra-core:release/1.6 Jun 29, 2017
chakrabot pushed a commit that referenced this pull request Jun 29, 2017
Merge pull request #3264 from Cellule:users/micfer/ret

Keep the `Ret` instruction to extend the lifetime of the return register(s) then remove it in FinalLower.

Fixing a bug in wasm int64 returns on x86  where edx is reused to reload a spilled value for eax.

Fixes [OSG 12195427](https://microsoft.visualstudio.com/os/_workitems?id=12195427)
chakrabot pushed a commit that referenced this pull request Jun 29, 2017
Merge pull request #3264 from Cellule:users/micfer/ret

Keep the `Ret` instruction to extend the lifetime of the return register(s) then remove it in FinalLower.

Fixing a bug in wasm int64 returns on x86  where edx is reused to reload a spilled value for eax.

Fixes [OSG 12195427](https://microsoft.visualstudio.com/os/_workitems?id=12195427)
@Cellule Cellule deleted the users/micfer/ret branch June 30, 2017 00:25
sigatrev added a commit to sigatrev/ChakraCore that referenced this pull request Dec 12, 2017
PRs chakra-core#3019, chakra-core#3264, and chakra-core#3509. These occured after the point where the ARM64 starting point was forked.
sigatrev added a commit to sigatrev/ChakraCore that referenced this pull request Dec 12, 2017
PRs chakra-core#3019, chakra-core#3264, and chakra-core#3509. These occured after the point where the ARM64 starting point was forked.
chakrabot pushed a commit that referenced this pull request Dec 12, 2017
Merge pull request #4408 from sigatrev:port

PRs #3019, #3264, and #3509. These occured after the point where the ARM64 starting point was forked.
chakrabot pushed a commit that referenced this pull request Dec 12, 2017
Merge pull request #4408 from sigatrev:port

PRs #3019, #3264, and #3509. These occured after the point where the ARM64 starting point was forked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants