| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 6423a17d4144c012dc40a786d6e468398c8aff88..6b50d2b4886fcb7d24e5ed0d59ad6771539f8fa2 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2315,9 +2315,8 @@ Handle<Object> FixedArray::get(FixedArray* array, int index, Isolate* isolate) {
|
| return handle(array->get(index), isolate);
|
| }
|
|
|
| -
|
| -bool FixedArray::is_the_hole(int index) {
|
| - return get(index) == GetHeap()->the_hole_value();
|
| +bool FixedArray::is_the_hole(Isolate* isolate, int index) {
|
| + return get(index)->IsTheHole(isolate);
|
| }
|
|
|
|
|
| @@ -2388,6 +2387,9 @@ void FixedDoubleArray::set_the_hole(int index) {
|
| WRITE_UINT64_FIELD(this, offset, kHoleNanInt64);
|
| }
|
|
|
| +bool FixedDoubleArray::is_the_hole(Isolate* isolate, int index) {
|
| + return is_the_hole(index);
|
| +}
|
|
|
| bool FixedDoubleArray::is_the_hole(int index) {
|
| return get_representation(index) == kHoleNanInt64;
|
|
|