Reviewers: Jakob,
Message:
PTAL
Description:
ahum. Small fix.
BUG=
Please review this at https://codereview.chromium.org/429583004/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/objects.cc
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index
456bb4fecd0c2f3f5ab2f3b4d7d6fac8c0c8f2b7..a846fba4164c9cf3647cbbd0297365cb8bbd03d2
100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -2447,7 +2447,7 @@ void Map::UpdateFieldType(int descriptor,
Handle<Name> name,
Handle<HeapType> new_type) {
DisallowHeapAllocation no_allocation;
PropertyDetails details = instance_descriptors()->GetDetails(descriptor);
- if (!details.type() == FIELD) return;
+ if (details.type() != FIELD) return;
if (HasTransitionArray()) {
TransitionArray* transitions = this->transitions();
for (int i = 0; i < transitions->number_of_transitions(); ++i) {
--
--
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/d/optout.