04c984ce3f
This CL changes the semantics of Pointer.allocate() to not do any range or overflow checks. This is consistent with the truncating behavior that the rest of the FFI has. Fixes: https://github.com/dart-lang/sdk/issues/37250 Change-Id: Icc2b53e229cd6a2faae99c833ea5df372eb35b74 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107503 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Samir Jindel <sjindel@google.com>