OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1416 | 1416 |
1417 kSymbolTableRootIndex, | 1417 kSymbolTableRootIndex, |
1418 kStrongRootListLength = kSymbolTableRootIndex, | 1418 kStrongRootListLength = kSymbolTableRootIndex, |
1419 kRootListLength | 1419 kRootListLength |
1420 }; | 1420 }; |
1421 | 1421 |
1422 STATIC_CHECK(kUndefinedValueRootIndex == Internals::kUndefinedValueRootIndex); | 1422 STATIC_CHECK(kUndefinedValueRootIndex == Internals::kUndefinedValueRootIndex); |
1423 STATIC_CHECK(kNullValueRootIndex == Internals::kNullValueRootIndex); | 1423 STATIC_CHECK(kNullValueRootIndex == Internals::kNullValueRootIndex); |
1424 STATIC_CHECK(kTrueValueRootIndex == Internals::kTrueValueRootIndex); | 1424 STATIC_CHECK(kTrueValueRootIndex == Internals::kTrueValueRootIndex); |
1425 STATIC_CHECK(kFalseValueRootIndex == Internals::kFalseValueRootIndex); | 1425 STATIC_CHECK(kFalseValueRootIndex == Internals::kFalseValueRootIndex); |
| 1426 STATIC_CHECK(kempty_symbolRootIndex == Internals::kEmptySymbolRootIndex); |
1426 | 1427 |
1427 MUST_USE_RESULT MaybeObject* NumberToString( | 1428 MUST_USE_RESULT MaybeObject* NumberToString( |
1428 Object* number, bool check_number_string_cache = true); | 1429 Object* number, bool check_number_string_cache = true); |
1429 MUST_USE_RESULT MaybeObject* Uint32ToString( | 1430 MUST_USE_RESULT MaybeObject* Uint32ToString( |
1430 uint32_t value, bool check_number_string_cache = true); | 1431 uint32_t value, bool check_number_string_cache = true); |
1431 | 1432 |
1432 Map* MapForExternalArrayType(ExternalArrayType array_type); | 1433 Map* MapForExternalArrayType(ExternalArrayType array_type); |
1433 RootListIndex RootIndexForExternalArrayType( | 1434 RootListIndex RootIndexForExternalArrayType( |
1434 ExternalArrayType array_type); | 1435 ExternalArrayType array_type); |
1435 | 1436 |
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2719 AssertNoAllocation no_alloc; // i.e. no gc allowed. | 2720 AssertNoAllocation no_alloc; // i.e. no gc allowed. |
2720 | 2721 |
2721 private: | 2722 private: |
2722 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2723 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2723 }; | 2724 }; |
2724 #endif // DEBUG || LIVE_OBJECT_LIST | 2725 #endif // DEBUG || LIVE_OBJECT_LIST |
2725 | 2726 |
2726 } } // namespace v8::internal | 2727 } } // namespace v8::internal |
2727 | 2728 |
2728 #endif // V8_HEAP_H_ | 2729 #endif // V8_HEAP_H_ |
OLD | NEW |