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

Unified Diff: src/d8.cc

Issue 7860016: Fix v8 shared library build by wrapping SourceGroup dtor into an ifndef V8_SHARED check. (Closed) Base URL: git://github.com/v8/v8.git@bleeding_edge
Patch Set: Created 9 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/d8.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index 160ffa316edf90eac24a5fc62a040e979d82e134..1b6dbe8ca1c4838037e891a1e1946954e15ea345 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -968,6 +968,7 @@ void ShellThread::Run() {
#endif // V8_SHARED
+#ifndef V8_SHARED
SourceGroup::~SourceGroup() {
delete next_semaphore_;
next_semaphore_ = NULL;
@@ -976,7 +977,7 @@ SourceGroup::~SourceGroup() {
delete thread_;
thread_ = NULL;
}
-
+#endif
void SourceGroup::ExitShell(int exit_code) {
// Use _exit instead of exit to avoid races between isolate
« no previous file with comments | « src/d8.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698