lang: have hasher_u32.update_u32 take a roslice

This commit is contained in:
Nigel Tao committed 2023-04-10 21:16:53 +10:00
1 parent ea3fbc37f5
commit 29c4122360
11 files changed
+68 -42

No files matched your search

+2 -2
View File
@@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
pri func ieee_hasher.up_arm_crc32!(x: slice base.u8),
pri func ieee_hasher.up_arm_crc32!(x: roslice base.u8),
choose cpu_arch >= arm_crc32,
{
var p : slice base.u8
var p : roslice base.u8
var util : base.arm_crc32_utility
var s : base.arm_crc32_u32