Revision: 14959
Author: [email protected]
Date: Wed Jun 5 09:45:19 2013
Log: MIPS: Fix LStoreKeyed error when tracing instruction.
Port r14951 (01dbfe2)
Original commit message:
LStoreKeyed can have a NULL value(), when we recognize we are storing a
constant
hole value.
BUG=
Review URL: https://codereview.chromium.org/16171019
Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=14959
Modified:
/branches/bleeding_edge/src/mips/lithium-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Tue Jun 4 09:41:24
2013
+++ /branches/bleeding_edge/src/mips/lithium-mips.cc Wed Jun 5 09:45:19
2013
@@ -409,7 +409,14 @@
} else {
stream->Add("] <- ");
}
- value()->PrintTo(stream);
+
+ if (value() == NULL) {
+ ASSERT(hydrogen()->IsConstantHoleStore() &&
+ hydrogen()->value()->representation().IsDouble());
+ stream->Add("<the hole(nan)>");
+ } else {
+ value()->PrintTo(stream);
+ }
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.