-
Notifications
You must be signed in to change notification settings - Fork 63
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
feat(rpc): python llvm_alloc_global equiv (alloc_global) #1517
base: master
Are you sure you want to change the base?
Conversation
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.
That was much easier than I expected!
@@ -110,7 +111,8 @@ instance FromJSON ty => FromJSON (ContractVar ty) where | |||
instance (FromJSON ty, FromJSON e) => FromJSON (Contract ty e) where | |||
parseJSON = | |||
withObject "contract" $ \o -> | |||
Contract <$> o .: "pre vars" | |||
Contract <$> o .: "mutable globals" |
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.
Mention this new capability of the remote API in the SAW changelog.
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.
Ah, good call.
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.
LGTM aside from the two comments!
g = x; | ||
} | ||
|
||
uint32_t get() { |
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.
Should there also be a test for this function in test_llvm_global_mutable.py
?
No description provided.