Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 766c0728283ccddbf263e9b022c58e9fe607887d..cb73c26b98e8849d3ee1048a47e05e5f1d0b1d43 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1883,7 +1883,7 @@ bool Isolate::Init(Deserializer* des) { |
heap_.SetStackLimits(); |
// Quiet the heap NaN if needed on target platform. |
- if (create_heap_objects) Assembler::QuietNaN(heap_.nan_value()); |
+ if (!create_heap_objects) Assembler::QuietNaN(heap_.nan_value()); |
deoptimizer_data_ = new DeoptimizerData; |
runtime_profiler_ = new RuntimeProfiler(this); |