Reviewers: adamk,

Description:
[d8] Fix compile failure due to kMaxWorkers

[email protected]

Please review this at https://codereview.chromium.org/1302593002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+2, -0 lines):
  M src/d8.cc


Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index 1b50855ac406ab982a4272e0433e8dbb13c054ca..58b59c890fac87d6a8de637e677432b975e1ea03 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -75,7 +75,9 @@ namespace v8 {
 namespace {

 const int MB = 1024 * 1024;
+#ifndef V8_SHARED
 const int kMaxWorkers = 50;
+#endif


 class ShellArrayBufferAllocator : public v8::ArrayBuffer::Allocator {


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to