| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 979b41e77ca1ea2bb8a8c3b9009ca8cfe41b68f8..8956e3c56b50f31af04c57a3caf9669d4c58f3f2 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -1132,11 +1132,12 @@ class Heap {
|
| kSmiRootsStart = kStringTableRootIndex + 1
|
| };
|
|
|
| - STATIC_CHECK(kUndefinedValueRootIndex == Internals::kUndefinedValueRootIndex);
|
| - STATIC_CHECK(kNullValueRootIndex == Internals::kNullValueRootIndex);
|
| - STATIC_CHECK(kTrueValueRootIndex == Internals::kTrueValueRootIndex);
|
| - STATIC_CHECK(kFalseValueRootIndex == Internals::kFalseValueRootIndex);
|
| - STATIC_CHECK(kempty_stringRootIndex == Internals::kEmptyStringRootIndex);
|
| + STATIC_ASSERT(kUndefinedValueRootIndex ==
|
| + Internals::kUndefinedValueRootIndex);
|
| + STATIC_ASSERT(kNullValueRootIndex == Internals::kNullValueRootIndex);
|
| + STATIC_ASSERT(kTrueValueRootIndex == Internals::kTrueValueRootIndex);
|
| + STATIC_ASSERT(kFalseValueRootIndex == Internals::kFalseValueRootIndex);
|
| + STATIC_ASSERT(kempty_stringRootIndex == Internals::kEmptyStringRootIndex);
|
|
|
| // Generated code can embed direct references to non-writable roots if
|
| // they are in new space.
|
|
|