summaryrefslogtreecommitdiff
path: root/src/literal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/literal.h')
-rw-r--r--src/literal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/literal.h b/src/literal.h
index 7d7c778bc..213713a1f 100644
--- a/src/literal.h
+++ b/src/literal.h
@@ -197,6 +197,10 @@ public:
WASM_UNREACHABLE("unexpected type");
}
}
+
+ static Literal makeFromMemory(void* p, Type type);
+ static Literal makeFromMemory(void* p, const Field& field);
+
static Literal makeSignedMin(Type type) {
switch (type.getBasic()) {
case Type::i32: