diff options
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r-- | src/binary-reader.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h index cc653197..b510bce8 100644 --- a/src/binary-reader.h +++ b/src/binary-reader.h @@ -22,6 +22,7 @@ #include "binary.h" #include "common.h" +#include "feature.h" #include "opcode.h" #include "string-view.h" @@ -31,12 +32,16 @@ class Stream; struct ReadBinaryOptions { ReadBinaryOptions() = default; - ReadBinaryOptions(Stream* log_stream, bool read_debug_names) - : log_stream(log_stream), read_debug_names(read_debug_names) {} - + ReadBinaryOptions(const Features& features, + Stream* log_stream, + bool read_debug_names) + : features(features), + log_stream(log_stream), + read_debug_names(read_debug_names) {} + + Features features; Stream* log_stream = nullptr; bool read_debug_names = false; - bool allow_future_exceptions = false; }; class BinaryReaderDelegate { |