-
Notifications
You must be signed in to change notification settings - Fork 68
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
Remove warnings c compiler #789
Changes from 7 commits
f2176ce
d0c1d69
b4bf249
b4e506b
b45e163
e138073
7e6a88e
16c763a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14736,6 +14736,7 @@ StackInterpreter >> stackPointerIndexForFrame: theFP [ | |
<var: #theFP type: #'char *'> | ||
<var: #thePage type: #'StackPage *'> | ||
<var: #theSP type: #'char *'> | ||
<returnTypeC: #sqInt> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh yes :) Is this a problem with the type inferencer? Something worth improving there as a separate issue? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's not just the type inferer, the problem is to have char* types in pointers to the stack (the type inference is doing good it's work). I already opened an issue for that. |
||
thePage := stackPages stackPageFor: theFP. | ||
theSP := self findSPOf: theFP on: thePage. | ||
^self stackPointerIndexForFrame: theFP WithSP: theSP | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would this rewrite remove the warning? do you know?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because there is not the expression with the complex type I guess (split into many statements)