Revision: 12073
Author:   [email protected]
Date:     Fri Jul 13 00:22:11 2012
Log:      MIPS: Fixed mistake in condition for Nan fixups from snapshot.

The commit r11871 caused quiet NaN related errors to
appear on Loongson and Sigma platforms when snapshot
is used. This commit fixes those issues.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10735080
Patch from Akos Palfi <[email protected]>.
http://code.google.com/p/v8/source/detail?r=12073

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

=======================================
--- /branches/bleeding_edge/src/isolate.cc      Tue Jul 10 04:04:38 2012
+++ /branches/bleeding_edge/src/isolate.cc      Fri Jul 13 00:22:11 2012
@@ -1883,7 +1883,7 @@
   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);

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to