Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 99a0bb08d29be6f9a4f80cd244e623dea297f3c8..740c5cebd44352f9a2bee14b7d24dc62b4487c00 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1623,6 +1623,11 @@ void FixedArray::set(int index, Object* value) { |
} |
+bool FixedArray::is_the_hole(int index) { |
+ return get(index)->IsTheHole(); |
+} |
+ |
+ |
inline bool FixedDoubleArray::is_the_hole_nan(double value) { |
return BitCast<uint64_t, double>(value) == kHoleNanInt64; |
} |