This commit is contained in:
fro
2017-09-21 12:44:50 +03:00
parent da265f3671
commit 93647ec3df
-14
View File
@@ -87,20 +87,6 @@ pub fn is_deterministic(module: elements::Module) -> bool {
}
}
},
Section::Global(ref global) => {
for entry in global.entries() {
if have_nondeterministic_opcodes(entry.init_expr().code()) {
return false;
}
}
},
Section::Element(ref element) => {
for entry in element.entries() {
if have_nondeterministic_opcodes(entry.offset().code()) {
return false;
}
}
}
_ => continue
}
}