summaryrefslogtreecommitdiff
path: root/src/support/file.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-02-17 12:44:14 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-02-17 14:25:01 -0800
commitdbb5f32bafcf3c8f51eefb95e6c298ce6b9ac8cc (patch)
tree88a9617fb2ad21c329043f1f4efd72a0abbb29dc /src/support/file.h
parent252962faba97b68684a470447c7202cf27ad8c05 (diff)
downloadbinaryen-dbb5f32bafcf3c8f51eefb95e6c298ce6b9ac8cc.tar.gz
binaryen-dbb5f32bafcf3c8f51eefb95e6c298ce6b9ac8cc.tar.bz2
binaryen-dbb5f32bafcf3c8f51eefb95e6c298ce6b9ac8cc.zip
move printing to a pass
Diffstat (limited to 'src/support/file.h')
-rw-r--r--src/support/file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/support/file.h b/src/support/file.h
index 5e464d6c1..47f7ececb 100644
--- a/src/support/file.h
+++ b/src/support/file.h
@@ -44,6 +44,10 @@ class Output {
return out << v;
}
+ std::ostream& getStream() {
+ return out;
+ }
+
private:
Output() = delete;
Output(const Output &) = delete;