summaryrefslogtreecommitdiff
path: root/src/common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.cc')
-rw-r--r--src/common.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.cc b/src/common.cc
index 411ed201..aca5b78d 100644
--- a/src/common.cc
+++ b/src/common.cc
@@ -31,6 +31,9 @@
namespace wabt {
+Reloc::Reloc(RelocType type, size_t offset, uint32_t index, int32_t addend)
+ : type(type), offset(offset), index(index), addend(addend) {}
+
OpcodeInfo g_opcode_info[kOpcodeCount];
/* TODO(binji): It's annoying to have to have an initializer function, but it