Reviewers: Erik Corry, danno, Paul Lind, kisg,
Description:
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=
Please review this at https://chromiumcodereview.appspot.com/10735080/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/isolate.cc
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);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev