| Index: src/runtime/runtime-maths.cc
|
| diff --git a/src/runtime/runtime-maths.cc b/src/runtime/runtime-maths.cc
|
| index f3049f9fabae348fff4a7d9194a439b76e1fde76..59bf372b00a8bab3becb3c05c6111285c98617cf 100644
|
| --- a/src/runtime/runtime-maths.cc
|
| +++ b/src/runtime/runtime-maths.cc
|
| @@ -229,7 +229,7 @@ RUNTIME_FUNCTION(Runtime_GenerateRandomNumbers) {
|
| HandleScope scope(isolate);
|
| DCHECK(args.length() == 1);
|
| // Random numbers in the snapshot are not really that random.
|
| - DCHECK(!isolate->bootstrapper()->IsActive());
|
| + CHECK(!isolate->serializer_enabled());
|
| static const int kState0Offset = 0;
|
| static const int kState1Offset = 1;
|
| static const int kRandomBatchSize = 64;
|
|
|