-
Notifications
You must be signed in to change notification settings - Fork 702
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
Update testsuite and implement table64 #2418
Conversation
2e01072
to
2449a08
Compare
Gentle ping.. |
src/c-writer.cc
Outdated
snprintf(buf, sizeof(buf), "%.17g", Bitcast<double>(f64_bits)); | ||
// Append .0 to if sprint didn't include a decimal point. | ||
// Works around https://github.com/WebAssembly/wabt/issues/2422 | ||
if (!strchr(buf, '.') && !strchr(buf, '+')) { |
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.
'+'
?
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 avoids adding .0
to constants that look like 1e+20
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.
but that has a .
already, do you mean like 1e-100
?
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.
Updated to look for e
instead, and added a comment.
I am totally swamped right now but will get to this asap (probably Friday evening). Sorry for delay. |
2449a08
to
20983a7
Compare
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.
can you update the commit message to also cover what's happening with the tests (e.g. EH etc)
20983a7
to
818e4ae
Compare
See WebAssembly/memory64#51 Includes workaround for #2422
818e4ae
to
e2a0cdf
Compare
Oops, good catch I didn't actually mean to delete those files. I took care of that already in #2416 |
@@ -77,7 +77,8 @@ class TypeChecker { | |||
Result EndBrTable(); | |||
Result OnCall(const TypeVector& param_types, const TypeVector& result_types); | |||
Result OnCallIndirect(const TypeVector& param_types, | |||
const TypeVector& result_types); | |||
const TypeVector& result_types, | |||
const Limits& table_limits); |
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.
does OnReturnCallIndirect need the same modification?
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.
Most likely. I guess the test suite is lacking there?
See WebAssembly/memory64#51
Includes a work around for #2388