Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: src/basic-block-profiler.h

Issue 2342563002: [d8] Fix the shared-library build (Closed)
Patch Set: Mark as extern in .cc Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/allocation.h ('k') | src/d8.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/basic-block-profiler.h
diff --git a/src/basic-block-profiler.h b/src/basic-block-profiler.h
index 2e7ac9c8040d2b9cd963dec7d53ec427c2d38c20..c3c8b649dccc6a7b6f860355cd295aacd61767b3 100644
--- a/src/basic-block-profiler.h
+++ b/src/basic-block-profiler.h
@@ -11,6 +11,7 @@
#include <vector>
#include "src/base/macros.h"
+#include "src/globals.h"
namespace v8 {
namespace internal {
@@ -58,15 +59,16 @@ class BasicBlockProfiler {
const DataList* data_list() { return &data_list_; }
private:
- friend std::ostream& operator<<(std::ostream& os,
- const BasicBlockProfiler& s);
+ friend V8_EXPORT_PRIVATE std::ostream& operator<<(
+ std::ostream& os, const BasicBlockProfiler& s);
DataList data_list_;
DISALLOW_COPY_AND_ASSIGN(BasicBlockProfiler);
};
-std::ostream& operator<<(std::ostream& os, const BasicBlockProfiler& s);
+V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
+ const BasicBlockProfiler& s);
std::ostream& operator<<(std::ostream& os, const BasicBlockProfiler::Data& s);
} // namespace internal
« no previous file with comments | « src/allocation.h ('k') | src/d8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698