Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index d3ba9fb2db6cd74097567f063624414b447fe74a..47392059cf996e556917431955487ff08c892966 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -90,6 +90,8 @@ void V8::InitializeOncePerProcessImpl() { |
FLAG_max_semi_space_size = 1; |
} |
+ if (FLAG_random_seed != 0) OS::SetRandomSeed(FLAG_random_seed); |
+ |
#ifdef V8_USE_DEFAULT_PLATFORM |
platform_ = new DefaultPlatform; |
#endif |