Index: src/transitions.cc |
diff --git a/src/transitions.cc b/src/transitions.cc |
index fa5ed7bb7deb5f3d73fc9d3a7cf240c13ce00580..2e65e387de74e05be69951495c5d3255ae04ba30 100644 |
--- a/src/transitions.cc |
+++ b/src/transitions.cc |
@@ -37,7 +37,7 @@ void TransitionArray::Insert(Handle<Map> map, Handle<Name> name, |
Name* key = GetSimpleTransitionKey(old_target); |
PropertyDetails old_details = GetSimpleTargetDetails(old_target); |
PropertyDetails new_details = is_special_transition |
- ? PropertyDetails(NONE, DATA, 0) |
+ ? PropertyDetails::Empty() |
: GetTargetDetails(*name, *target); |
if (flag == SIMPLE_PROPERTY_TRANSITION && key->Equals(*name) && |
old_details.kind() == new_details.kind() && |
@@ -67,7 +67,7 @@ void TransitionArray::Insert(Handle<Map> map, Handle<Name> name, |
int insertion_index = kNotFound; |
DCHECK_EQ(is_special_transition, IsSpecialTransition(*name)); |
PropertyDetails details = is_special_transition |
- ? PropertyDetails(NONE, DATA, 0) |
+ ? PropertyDetails::Empty() |
: GetTargetDetails(*name, *target); |
{ |