Index: src/transitions.cc |
diff --git a/src/transitions.cc b/src/transitions.cc |
index 88c1549579d6d63ff31cd0eee70232ad11b158da..082ebc16b015df44d1586fbaa355d6f6604ce65c 100644 |
--- a/src/transitions.cc |
+++ b/src/transitions.cc |
@@ -395,7 +395,7 @@ Handle<TransitionArray> TransitionArray::Allocate(Isolate* isolate, |
int slack) { |
Handle<FixedArray> array = isolate->factory()->NewTransitionArray( |
LengthFor(number_of_transitions + slack)); |
- array->set(kPrototypeTransitionsIndex, Smi::kZero); |
+ array->set(kPrototypeTransitionsIndex, Smi::FromInt(0)); |
array->set(kTransitionLengthIndex, Smi::FromInt(number_of_transitions)); |
return Handle<TransitionArray>::cast(array); |
} |