diff options
Diffstat (limited to 'src/opcode.cc')
-rw-r--r-- | src/opcode.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opcode.cc b/src/opcode.cc index a5f5aa75..280bb87e 100644 --- a/src/opcode.cc +++ b/src/opcode.cc @@ -112,6 +112,8 @@ bool Opcode::IsEnabled(const Features& features) const { case Opcode::I64Extend8S: case Opcode::I64Extend16S: case Opcode::I64Extend32S: + return features.sign_extension_enabled(); + case Opcode::AtomicWake: case Opcode::I32AtomicWait: case Opcode::I64AtomicWait: |