Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

gh-99955: standardize return values of functions in assembler and optimizer.#99956

Merged
iritkatriel merged 6 commits intopython:mainfrom
iritkatriel:return_values
Dec 2, 2022
Merged

gh-99955: standardize return values of functions in assembler and optimizer.#99956
iritkatriel merged 6 commits intopython:mainfrom
iritkatriel:return_values

Conversation

@iritkatriel
Copy link
Member

@iritkatrieliritkatriel commentedDec 2, 2022
edited by bedevere-bot
Loading

The individual commit may be easier to review.

@markshannonmarkshannon changed the titlegh-99955: standardize return values of functions in assemebler and optimizer.gh-99955: standardize return values of functions in assembler and optimizer.Dec 2, 2022
@markshannon
Copy link
Member

Thanks for doing this.
Does this cover everything in compile.c that used the 0/1 style return?

Copy link
Member

@markshannonmarkshannon left a comment

Choose a reason for hiding this comment

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

All the functions changed are static, so you can skip the news item.

@iritkatriel
Copy link
MemberAuthor

Thanks for doing this.
Does this cover everything in compile.c that used the 0/1 style return?

It doesn't cover any of the code-gen function, just optimizer and assembler.

code-gen uses 0/1, and the RETURN_IF_FALSE macro, which I think we should either do without or turn into RETURN_IF_ERROR (which would be -1).

@iritkatrieliritkatriel added skip news interpreter-core(Objects, Python, Grammar, and Parser dirs) labelsDec 2, 2022
@iritkatrieliritkatriel merged commitab02262 intopython:mainDec 2, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@markshannonmarkshannonmarkshannon approved these changes

Assignees

No one assigned

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@iritkatriel@markshannon@bedevere-bot

[8]ページ先頭

©2009-2026 Movatter.jp