assert("invalid order of bytecodes in section '#{name}': found opcode '#{opcode.name}' with checkpoints after '#{first_non_checkpoint.name}', which doesn't contain checkpoints"){false}
end
ifopcode.metadata.empty?
first_non_metadata ||= opcode
elsiffirst_non_metadata
assert("invalid order of bytecodes in section '#{name}': found opcode '#{opcode.name}' with metadata after '#{first_non_metadata.name}', which doesn't contain metadata"){false}
end
ifopcode.name.downcase.include?("simd")
last_simd=opcode
elsiflast_simd
assert("invalid order of bytecodes in section '#{name}': found non-simd opcode '#{opcode.name}' after '#{last_simd.name}'"){false}