Index: src/transitions-inl.h |
diff --git a/src/transitions-inl.h b/src/transitions-inl.h |
index df28c2c9913d5a5b7565fdf2e0559aafccc5fae6..828a673d7f8f9f7922cac5b24eb8490f90220de3 100644 |
--- a/src/transitions-inl.h |
+++ b/src/transitions-inl.h |
@@ -26,7 +26,7 @@ void TransitionArray::set_next_link(Object* next, WriteBarrierMode mode) { |
bool TransitionArray::HasPrototypeTransitions() { |
- return get(kPrototypeTransitionsIndex) != Smi::kZero; |
+ return get(kPrototypeTransitionsIndex) != Smi::FromInt(0); |
} |