| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 | 875 |
| 876 #define SYMBOL_INDEX_DECLARATION(name, str) k##name##RootIndex, | 876 #define SYMBOL_INDEX_DECLARATION(name, str) k##name##RootIndex, |
| 877 SYMBOL_LIST(SYMBOL_INDEX_DECLARATION) | 877 SYMBOL_LIST(SYMBOL_INDEX_DECLARATION) |
| 878 #undef SYMBOL_DECLARATION | 878 #undef SYMBOL_DECLARATION |
| 879 | 879 |
| 880 kSymbolTableRootIndex, | 880 kSymbolTableRootIndex, |
| 881 kStrongRootListLength = kSymbolTableRootIndex, | 881 kStrongRootListLength = kSymbolTableRootIndex, |
| 882 kRootListLength | 882 kRootListLength |
| 883 }; | 883 }; |
| 884 | 884 |
| 885 static Object* NumberToString(Object* number); |
| 886 |
| 885 private: | 887 private: |
| 886 static int semispace_size_; | 888 static int semispace_size_; |
| 887 static int initial_semispace_size_; | 889 static int initial_semispace_size_; |
| 888 static int young_generation_size_; | 890 static int young_generation_size_; |
| 889 static int old_generation_size_; | 891 static int old_generation_size_; |
| 890 | 892 |
| 891 // For keeping track of how much data has survived | 893 // For keeping track of how much data has survived |
| 892 // scavenge since last new space expansion. | 894 // scavenge since last new space expansion. |
| 893 static int survived_since_last_expansion_; | 895 static int survived_since_last_expansion_; |
| 894 | 896 |
| (...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1589 } | 1591 } |
| 1590 static TranscendentalCache* caches_[kNumberOfCaches]; | 1592 static TranscendentalCache* caches_[kNumberOfCaches]; |
| 1591 Element elements_[kCacheSize]; | 1593 Element elements_[kCacheSize]; |
| 1592 Type type_; | 1594 Type type_; |
| 1593 }; | 1595 }; |
| 1594 | 1596 |
| 1595 | 1597 |
| 1596 } } // namespace v8::internal | 1598 } } // namespace v8::internal |
| 1597 | 1599 |
| 1598 #endif // V8_HEAP_H_ | 1600 #endif // V8_HEAP_H_ |
| OLD | NEW |