Commit c6cf7e54 authored by verwaest@chromium.org's avatar verwaest@chromium.org

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
parent 112cbd24
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment