diff options
Diffstat (limited to 'src/opcode.cc')
-rw-r--r-- | src/opcode.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opcode.cc b/src/opcode.cc index 7d5ed34f..1ead657a 100644 --- a/src/opcode.cc +++ b/src/opcode.cc @@ -82,8 +82,9 @@ bool Opcode::IsNaturallyAligned(Address alignment) const { } Address Opcode::GetAlignment(Address alignment) const { - if (alignment == WABT_USE_NATURAL_ALIGNMENT) + if (alignment == WABT_USE_NATURAL_ALIGNMENT) { return GetMemorySize(); + } return alignment; } |