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

Side by Side Diff: src/heap.h

Issue 466018: Fix Windows build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 static const int kInitialSymbolTableSize = 2048; 1096 static const int kInitialSymbolTableSize = 2048;
1097 static const int kInitialEvalCacheSize = 64; 1097 static const int kInitialEvalCacheSize = 64;
1098 1098
1099 friend class Factory; 1099 friend class Factory;
1100 friend class DisallowAllocationFailure; 1100 friend class DisallowAllocationFailure;
1101 friend class AlwaysAllocateScope; 1101 friend class AlwaysAllocateScope;
1102 friend class LinearAllocationScope; 1102 friend class LinearAllocationScope;
1103 }; 1103 };
1104 1104
1105 1105
1106 struct HeapStats { 1106 class HeapStats {
1107 public:
1107 int new_space_size; 1108 int new_space_size;
1108 int new_space_capacity; 1109 int new_space_capacity;
1109 int old_pointer_space_size; 1110 int old_pointer_space_size;
1110 int old_pointer_space_capacity; 1111 int old_pointer_space_capacity;
1111 int old_data_space_size; 1112 int old_data_space_size;
1112 int old_data_space_capacity; 1113 int old_data_space_capacity;
1113 int code_space_size; 1114 int code_space_size;
1114 int code_space_capacity; 1115 int code_space_capacity;
1115 int map_space_size; 1116 int map_space_size;
1116 int map_space_capacity; 1117 int map_space_capacity;
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1616 } 1617 }
1617 static TranscendentalCache* caches_[kNumberOfCaches]; 1618 static TranscendentalCache* caches_[kNumberOfCaches];
1618 Element elements_[kCacheSize]; 1619 Element elements_[kCacheSize];
1619 Type type_; 1620 Type type_;
1620 }; 1621 };
1621 1622
1622 1623
1623 } } // namespace v8::internal 1624 } } // namespace v8::internal
1624 1625
1625 #endif // V8_HEAP_H_ 1626 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698