Skip to content

Conversation

@Predelnik
Copy link
Contributor

@Predelnik Predelnik commented May 24, 2019

Apparently there were actually two diffs:
One mentioned in #969, apparently moving assignment one line below makes compiler think that eax was already reassigned from 1 but then it moves it back by itself and never reevaluates that fact.

The other diff is if condition optimization where storing Item->_iMiscId in variable makes compiler not to recheck its value in second group of conditions so the solution is obviously not to store it in the variable.

Closes #249

@AJenbo AJenbo merged commit ccc72fd into diasurgical:master May 24, 2019
@AJenbo
Copy link
Member

AJenbo commented May 24, 2019

Excelent

@sskras
Copy link
Contributor

sskras commented May 24, 2019

Thank you for your insightful description.

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.

inv.cpp

3 participants