Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: src/heap.h

Issue 246077: Changed Object.keys to return strings for element indices. (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698