summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 779efe991..931c560c1 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1514,7 +1514,7 @@ public:
void finalize();
- Type getCastType() { return castType; }
+ Type& getCastType() { return castType; }
};
class RefCast : public SpecificExpression<Expression::RefCastId> {
@@ -1530,7 +1530,7 @@ public:
void finalize();
- Type getCastType() { return type; }
+ Type& getCastType() { return type; }
};
class BrOn : public SpecificExpression<Expression::BrOnId> {
@@ -1544,7 +1544,7 @@ public:
void finalize();
- Type getCastType() { return castType; }
+ Type& getCastType() { return castType; }
// Returns the type sent on the branch, if it is taken.
Type getSentType();