| Index: src/interpreter/bytecode-array-builder.cc
|
| diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc
|
| index 7575663e0f2eda417194f89d7aeaf39b68a3623e..5a56577ed259490fe520ea8f429b0c4af232c6ac 100644
|
| --- a/src/interpreter/bytecode-array-builder.cc
|
| +++ b/src/interpreter/bytecode-array-builder.cc
|
| @@ -123,7 +123,7 @@ void BytecodeArrayBuilder::Output(Bytecode bytecode, uint32_t(&operands)[N]) {
|
| break;
|
| case OperandSize::kShort: {
|
| uint8_t operand_bytes[2];
|
| - Bytecodes::ShortOperandToBytes(operands[i], operand_bytes);
|
| + WriteUnalignedUInt16(operand_bytes, operands[i]);
|
| bytecodes()->insert(bytecodes()->end(), operand_bytes,
|
| operand_bytes + 2);
|
| break;
|
|
|