Revision: 22644
Author: svenpa...@chromium.org
Date: Mon Jul 28 12:47:24 2014 UTC
Log: Unbreak NaCL build
TBR=verwa...@chromium.org
Review URL: https://codereview.chromium.org/422863004
http://code.google.com/p/v8/source/detail?r=22644
Modified:
/branches/bleeding_edge/src/objects.cc
=======================================
--- /branches/bleeding_edge/src/objects.cc Mon Jul 28 12:00:05 2014 UTC
+++ /branches/bleeding_edge/src/objects.cc Mon Jul 28 12:47:24 2014 UTC
@@ -6636,7 +6636,12 @@
if (is_observed) {
if (is_element) {
Maybe<bool> maybe = HasOwnElement(object, index);
- ASSERT(maybe.has_value);
+ // Workaround for a GCC 4.4.3 bug which leads to "'preexists' may be
used
+ // uninitialized in this function".
+ if (!maybe.has_value) {
+ ASSERT(false);
+ return isolate->factory()->undefined_value();
+ }
preexists = maybe.value;
if (preexists && GetOwnElementAccessorPair(object, index).is_null())
{
old_value =
--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.