| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index eb537c75a05b301c7a6aedfc5b31243c1259e89d..f697114fefed098c680617e68b1acfc346ac7499 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -35,6 +35,7 @@
|
| #ifndef V8_OBJECTS_INL_H_
|
| #define V8_OBJECTS_INL_H_
|
|
|
| +#include "assembler.h"
|
| #include "objects.h"
|
| #include "contexts.h"
|
| #include "conversions-inl.h"
|
| @@ -1610,6 +1611,21 @@ void FixedArray::set(int index, Object* value) {
|
| }
|
|
|
|
|
| +inline bool FixedDoubleArray::is_the_hole_nan(double value) {
|
| + return BitCast<uint64_t, double>(value) == kHoleNanInt64;
|
| +}
|
| +
|
| +
|
| +inline double FixedDoubleArray::hole_nan_as_double() {
|
| + return BitCast<double, uint64_t>(kHoleNanInt64);
|
| +}
|
| +
|
| +
|
| +inline double FixedDoubleArray::canonical_not_the_hole_nan_as_double() {
|
| + return BitCast<double, uint64_t>(kCanonicalNonHoleNanInt64);
|
| +}
|
| +
|
| +
|
| double FixedDoubleArray::get(int index) {
|
| ASSERT(map() != HEAP->fixed_cow_array_map() &&
|
| map() != HEAP->fixed_array_map());
|
|
|