diff options
Diffstat (limited to 'src/literal.h')
-rw-r--r-- | src/literal.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/literal.h b/src/literal.h index 5c72bf96c..cffa9ab7d 100644 --- a/src/literal.h +++ b/src/literal.h @@ -135,10 +135,7 @@ public: assert(type == Type::funcref); return func; } - const ExceptionPackage& getExceptionPackage() const { - assert(type == Type::exnref); - return *exn.get(); - } + ExceptionPackage getExceptionPackage() const; // careful! int32_t* geti32Ptr() { |