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 1553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1564 STATIC_CHECK(kFalseValueRootIndex == Internals::kFalseValueRootIndex); | 1564 STATIC_CHECK(kFalseValueRootIndex == Internals::kFalseValueRootIndex); |
1565 STATIC_CHECK(kempty_stringRootIndex == Internals::kEmptyStringRootIndex); | 1565 STATIC_CHECK(kempty_stringRootIndex == Internals::kEmptyStringRootIndex); |
1566 | 1566 |
1567 // Generated code can embed direct references to non-writable roots if | 1567 // Generated code can embed direct references to non-writable roots if |
1568 // they are in new space. | 1568 // they are in new space. |
1569 static bool RootCanBeWrittenAfterInitialization(RootListIndex root_index); | 1569 static bool RootCanBeWrittenAfterInitialization(RootListIndex root_index); |
1570 // Generated code can treat direct references to this root as constant. | 1570 // Generated code can treat direct references to this root as constant. |
1571 bool RootCanBeTreatedAsConstant(RootListIndex root_index); | 1571 bool RootCanBeTreatedAsConstant(RootListIndex root_index); |
1572 | 1572 |
1573 MUST_USE_RESULT MaybeObject* NumberToString( | 1573 MUST_USE_RESULT MaybeObject* NumberToString( |
1574 Object* number, bool check_number_string_cache = true, | 1574 Object* number, bool check_number_string_cache = true); |
1575 PretenureFlag pretenure = NOT_TENURED); | |
1576 MUST_USE_RESULT MaybeObject* Uint32ToString( | 1575 MUST_USE_RESULT MaybeObject* Uint32ToString( |
1577 uint32_t value, bool check_number_string_cache = true); | 1576 uint32_t value, bool check_number_string_cache = true); |
1578 | 1577 |
1579 Map* MapForFixedTypedArray(ExternalArrayType array_type); | 1578 Map* MapForFixedTypedArray(ExternalArrayType array_type); |
1580 RootListIndex RootIndexForFixedTypedArray( | 1579 RootListIndex RootIndexForFixedTypedArray( |
1581 ExternalArrayType array_type); | 1580 ExternalArrayType array_type); |
1582 | 1581 |
1583 Map* MapForExternalArrayType(ExternalArrayType array_type); | 1582 Map* MapForExternalArrayType(ExternalArrayType array_type); |
1584 RootListIndex RootIndexForExternalArrayType( | 1583 RootListIndex RootIndexForExternalArrayType( |
1585 ExternalArrayType array_type); | 1584 ExternalArrayType array_type); |
(...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3040 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3039 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3041 | 3040 |
3042 private: | 3041 private: |
3043 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3042 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3044 }; | 3043 }; |
3045 #endif // DEBUG | 3044 #endif // DEBUG |
3046 | 3045 |
3047 } } // namespace v8::internal | 3046 } } // namespace v8::internal |
3048 | 3047 |
3049 #endif // V8_HEAP_H_ | 3048 #endif // V8_HEAP_H_ |
OLD | NEW |