Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 6e4e61d15e4b3f997b1ec56c51e98a670149f27f..2ace7743b2693ff86952e83e275d297f4dd0ff7e 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -49,6 +49,7 @@ |
#endif // !V8_SHARED |
#ifdef V8_SHARED |
+#include "../include/v8-defaults.h" |
#include "../include/v8-testing.h" |
#endif // V8_SHARED |
@@ -66,6 +67,7 @@ |
#include "natives.h" |
#include "platform.h" |
#include "v8.h" |
+#include "v8-defaults.h" |
#endif // V8_SHARED |
#if !defined(_WIN32) && !defined(_WIN64) |
@@ -1648,6 +1650,7 @@ int Shell::Main(int argc, char* argv[]) { |
#else |
SetStandaloneFlagsViaCommandLine(); |
#endif |
+ v8::SetDefaultResourceConstraintsForCurrentPlatform(); |
ShellArrayBufferAllocator array_buffer_allocator; |
v8::V8::SetArrayBufferAllocator(&array_buffer_allocator); |
int result = 0; |