-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add abi offset #219
Add abi offset #219
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.
this codes make people confused,
we could do better.
we could let optimizer ouput a label addrConvTable.do not let optimizer to parse module direct.
@ShawnYun I just clear optimizer, check it please and continue. |
sorry addrconvtable has bug,only convert labels,I will fix it. |
@lightszero Thanks, It's better now. |
Now we can use |
tests/Neo.Compiler.MSIL.UnitTests/TestClasses/Contract_StaticVarInit.cs
Outdated
Show resolved
Hide resolved
tests/Neo.Compiler.MSIL.UnitTests/TestClasses/Contract_StaticVarInit.cs
Outdated
Show resolved
Hide resolved
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.
It's ready for review, @lightszero @shargon could help review it.
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.
@lightszero Thanks, Have fixed it. |
return new byte[1] { (byte)value }; | ||
} | ||
//[TestMethod] | ||
//public void Test_Optimize_Recalculate_Positive_PUSHA() |
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 these tests was removed?
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.
https://github.com/neo-project/neo-devpack-dotnet/pull/252/files#r415749579
This should not have been merged if it didn't work with the unit test, the solution is not to comment the code that doesn't work.
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.
@shargon Sorry, I will restore them after I fix the Parser_DeleteDeadCode
.
close #207
@lightszero @shargon @Tommo-L Could you help review the code?