Index: src/wasm/wasm-result.h |
diff --git a/src/wasm/wasm-result.h b/src/wasm/wasm-result.h |
index ffb6367cb204b3e1fdcff0e37175c45b9a76b3ca..53c6b8dcf9c883969dfdebb3aadc70fc611c557a 100644 |
--- a/src/wasm/wasm-result.h |
+++ b/src/wasm/wasm-result.h |
@@ -82,7 +82,8 @@ std::ostream& operator<<(std::ostream& os, const Result<T>& result) { |
return os; |
} |
-std::ostream& operator<<(std::ostream& os, const ErrorCode& error_code); |
+V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
+ const ErrorCode& error_code); |
// A helper for generating error messages that bubble up to JS exceptions. |
class V8_EXPORT_PRIVATE ErrorThrower { |