| Index: src/wasm/encoder.cc
|
| diff --git a/src/wasm/encoder.cc b/src/wasm/encoder.cc
|
| index 2b93301ae7877a42d0b8530ca08507fb1d556a6a..5022ff386c40b988f59467a029fc5e67bf94fcf1 100644
|
| --- a/src/wasm/encoder.cc
|
| +++ b/src/wasm/encoder.cc
|
| @@ -30,13 +30,13 @@ void EmitUint8(byte** b, uint8_t x) {
|
|
|
|
|
| void EmitUint16(byte** b, uint16_t x) {
|
| - Memory::uint16_at(*b) = x;
|
| + WriteUnalignedUInt16(*b, x);
|
| *b += 2;
|
| }
|
|
|
|
|
| void EmitUint32(byte** b, uint32_t x) {
|
| - Memory::uint32_at(*b) = x;
|
| + WriteUnalignedUInt32(*b, x);
|
| *b += 4;
|
| }
|
|
|
|
|