Revision: 15560
Author: [email protected]
Date: Mon Jul 8 08:41:06 2013
Log: Fix stupidity
[email protected]
BUG=
Review URL: https://codereview.chromium.org/18801004
http://code.google.com/p/v8/source/detail?r=15560
Modified:
/branches/bleeding_edge/src/objects.cc
=======================================
--- /branches/bleeding_edge/src/objects.cc Mon Jul 8 08:38:39 2013
+++ /branches/bleeding_edge/src/objects.cc Mon Jul 8 08:41:06 2013
@@ -15850,8 +15850,8 @@
&PropertyCell::UpdateType,
Handle<PropertyCell>(this),
Handle<Object>(value, GetIsolate()));
- Type* new_type;
- if (maybe_type->To(&new_type)) return maybe_type;
+ Type* new_type = NULL;
+ if (!maybe_type->To(&new_type)) return maybe_type;
set_type(new_type);
}
return value;
--
--
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.