summaryrefslogtreecommitdiff
path: root/include/wabt/opcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wabt/opcode.h')
-rw-r--r--include/wabt/opcode.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/wabt/opcode.h b/include/wabt/opcode.h
index 16afb2ee..24b45ab6 100644
--- a/include/wabt/opcode.h
+++ b/include/wabt/opcode.h
@@ -69,14 +69,6 @@ struct Opcode {
Type GetParamType(int n) const { return GetInfo().param_types[n - 1]; }
Address GetMemorySize() const { return GetInfo().memory_size; }
- // If this is a load/store op, the type depends on the memory used.
- Type GetMemoryParam(Type param,
- const Limits* limits,
- bool has_address_operands) {
- return limits && limits->is_64 && has_address_operands ? Type(Type::I64)
- : param;
- }
-
// Get the byte sequence for this opcode, including prefix.
std::vector<uint8_t> GetBytes() const;