From c6cf7e54654455dcdddc83a01c7b1ccfb445db0a Mon Sep 17 00:00:00 2001 From: "verwaest@chromium.org" Date: Tue, 29 Jul 2014 14:17:07 +0000 Subject: [PATCH] ahum. Small fix. BUG= R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/429583004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22673 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects.cc b/src/objects.cc index 456bb4fecd..a846fba416 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -2447,7 +2447,7 @@ void Map::UpdateFieldType(int descriptor, Handle name, Handle 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) {