Revision: 17700
Author:   [email protected]
Date:     Wed Nov 13 15:32:02 2013 UTC
Log:      Fix shared library build after r17696

[email protected]

Review URL: https://codereview.chromium.org/71573002
http://code.google.com/p/v8/source/detail?r=17700

Modified:
 /branches/bleeding_edge/src/d8.cc

=======================================
--- /branches/bleeding_edge/src/d8.cc   Wed Nov 13 14:05:06 2013 UTC
+++ /branches/bleeding_edge/src/d8.cc   Wed Nov 13 15:32:02 2013 UTC
@@ -1683,9 +1683,11 @@
   v8::V8::SetArrayBufferAllocator(&array_buffer_allocator);
   int result = 0;
   Isolate* isolate = Isolate::GetCurrent();
+#ifndef V8_SHARED
   v8::ResourceConstraints constraints;
   constraints.ConfigureDefaults(i::OS::TotalPhysicalMemory());
   v8::SetResourceConstraints(isolate, &constraints);
+#endif
   DumbLineEditor dumb_line_editor(isolate);
   {
     Initialize(isolate);

--
--
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/groups/opt_out.

Reply via email to