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

Conversation

@BruceForstall
Copy link

Remove unused GTF_NO_OP_NO.

Also, put some under #ifdef to indicate their limited use.

Also, put some under `#ifdef` to indicate their limited use.
@BruceForstall
Copy link
Author

@briansull PTAL
cc @dotnet/jit-contrib

#define GTF_ICON_TLS_HDL 0xC0000000 // GT_CNS_INT -- constant is a TLS ref with offset
#define GTF_ICON_FTN_ADDR 0xD0000000 // GT_CNS_INT -- constant is a function address
#define GTF_ICON_CIDMID_HDL 0xE0000000 // GT_CNS_INT -- constant is a class or module ID handle
#define GTF_ICON_BBC_PTR 0xF0000000 // GT_CNS_INT -- constant is a basic block count pointer

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank You, I was just looking at that horrible mess today.

// with operators: the specified node is an unsigned operator

#define GTF_LATE_ARG \
0x00200000 // the specified node is evaluated to a temp in the arg list, and this temp is added to gtCallLateArgs.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one was the worst, splitting the define value onto the next line ugg.

Copy link

@CarolEidt CarolEidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup!

@hqueue
Copy link
Member

hqueue commented May 19, 2017

@dotnet-bot please test Tizen armel Cross Release Build

Copy link
Member

@hqueue hqueue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for cleaning up and isolating LEGACY_BACKEND code from ryujit :)
It is not easy to figure out for newcomers.

@BruceForstall
Copy link
Author

@dotnet-bot test this please

@BruceForstall BruceForstall merged commit 19a68e0 into dotnet:master May 19, 2017
@BruceForstall BruceForstall deleted the CleanupGTFlags branch May 19, 2017 21:55
@karelz karelz modified the milestone: 2.1.0 Aug 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants