| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1193 SYMBOL_LIST(SYMBOL_INDEX_DECLARATION) | 1193 SYMBOL_LIST(SYMBOL_INDEX_DECLARATION) |
| 1194 #undef SYMBOL_DECLARATION | 1194 #undef SYMBOL_DECLARATION |
| 1195 | 1195 |
| 1196 kSymbolTableRootIndex, | 1196 kSymbolTableRootIndex, |
| 1197 kStrongRootListLength = kSymbolTableRootIndex, | 1197 kStrongRootListLength = kSymbolTableRootIndex, |
| 1198 kRootListLength | 1198 kRootListLength |
| 1199 }; | 1199 }; |
| 1200 | 1200 |
| 1201 MUST_USE_RESULT MaybeObject* NumberToString( | 1201 MUST_USE_RESULT MaybeObject* NumberToString( |
| 1202 Object* number, bool check_number_string_cache = true); | 1202 Object* number, bool check_number_string_cache = true); |
| 1203 MUST_USE_RESULT MaybeObject* Uint32ToString( |
| 1204 uint32_t value, bool check_number_string_cache = true); |
| 1203 | 1205 |
| 1204 Map* MapForExternalArrayType(ExternalArrayType array_type); | 1206 Map* MapForExternalArrayType(ExternalArrayType array_type); |
| 1205 RootListIndex RootIndexForExternalArrayType( | 1207 RootListIndex RootIndexForExternalArrayType( |
| 1206 ExternalArrayType array_type); | 1208 ExternalArrayType array_type); |
| 1207 | 1209 |
| 1208 void RecordStats(HeapStats* stats, bool take_snapshot = false); | 1210 void RecordStats(HeapStats* stats, bool take_snapshot = false); |
| 1209 | 1211 |
| 1210 // Copy block of memory from src to dst. Size of block should be aligned | 1212 // Copy block of memory from src to dst. Size of block should be aligned |
| 1211 // by pointer size. | 1213 // by pointer size. |
| 1212 static inline void CopyBlock(Address dst, Address src, int byte_size); | 1214 static inline void CopyBlock(Address dst, Address src, int byte_size); |
| (...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2315 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2317 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2316 }; | 2318 }; |
| 2317 #endif // DEBUG || LIVE_OBJECT_LIST | 2319 #endif // DEBUG || LIVE_OBJECT_LIST |
| 2318 | 2320 |
| 2319 | 2321 |
| 2320 } } // namespace v8::internal | 2322 } } // namespace v8::internal |
| 2321 | 2323 |
| 2322 #undef HEAP | 2324 #undef HEAP |
| 2323 | 2325 |
| 2324 #endif // V8_HEAP_H_ | 2326 #endif // V8_HEAP_H_ |
| OLD | NEW |