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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 #define ROOT_LIST(V) \ | 128 #define ROOT_LIST(V) \ |
129 STRONG_ROOT_LIST(V) \ | 129 STRONG_ROOT_LIST(V) \ |
130 V(Object, symbol_table) | 130 V(Object, symbol_table) |
131 | 131 |
132 #define SYMBOL_LIST(V) \ | 132 #define SYMBOL_LIST(V) \ |
133 V(Array_symbol, "Array") \ | 133 V(Array_symbol, "Array") \ |
134 V(Object_symbol, "Object") \ | 134 V(Object_symbol, "Object") \ |
135 V(Proto_symbol, "__proto__") \ | 135 V(Proto_symbol, "__proto__") \ |
136 V(StringImpl_symbol, "StringImpl") \ | 136 V(StringImpl_symbol, "StringImpl") \ |
137 V(arguments_symbol, "arguments") \ | 137 V(arguments_symbol, "arguments") \ |
| 138 V(Arguments_symbol, "Arguments") \ |
138 V(arguments_shadow_symbol, ".arguments") \ | 139 V(arguments_shadow_symbol, ".arguments") \ |
139 V(call_symbol, "call") \ | 140 V(call_symbol, "call") \ |
140 V(apply_symbol, "apply") \ | 141 V(apply_symbol, "apply") \ |
141 V(caller_symbol, "caller") \ | 142 V(caller_symbol, "caller") \ |
142 V(boolean_symbol, "boolean") \ | 143 V(boolean_symbol, "boolean") \ |
| 144 V(Boolean_symbol, "Boolean") \ |
143 V(callee_symbol, "callee") \ | 145 V(callee_symbol, "callee") \ |
144 V(constructor_symbol, "constructor") \ | 146 V(constructor_symbol, "constructor") \ |
145 V(code_symbol, ".code") \ | 147 V(code_symbol, ".code") \ |
146 V(result_symbol, ".result") \ | 148 V(result_symbol, ".result") \ |
147 V(catch_var_symbol, ".catch-var") \ | 149 V(catch_var_symbol, ".catch-var") \ |
148 V(empty_symbol, "") \ | 150 V(empty_symbol, "") \ |
149 V(eval_symbol, "eval") \ | 151 V(eval_symbol, "eval") \ |
150 V(function_symbol, "function") \ | 152 V(function_symbol, "function") \ |
151 V(length_symbol, "length") \ | 153 V(length_symbol, "length") \ |
152 V(name_symbol, "name") \ | 154 V(name_symbol, "name") \ |
153 V(number_symbol, "number") \ | 155 V(number_symbol, "number") \ |
| 156 V(Number_symbol, "Number") \ |
154 V(object_symbol, "object") \ | 157 V(object_symbol, "object") \ |
155 V(prototype_symbol, "prototype") \ | 158 V(prototype_symbol, "prototype") \ |
156 V(string_symbol, "string") \ | 159 V(string_symbol, "string") \ |
157 V(String_symbol, "String") \ | 160 V(String_symbol, "String") \ |
158 V(Date_symbol, "Date") \ | 161 V(Date_symbol, "Date") \ |
159 V(this_symbol, "this") \ | 162 V(this_symbol, "this") \ |
160 V(to_string_symbol, "toString") \ | 163 V(to_string_symbol, "toString") \ |
161 V(char_at_symbol, "CharAt") \ | 164 V(char_at_symbol, "CharAt") \ |
162 V(undefined_symbol, "undefined") \ | 165 V(undefined_symbol, "undefined") \ |
163 V(value_of_symbol, "valueOf") \ | 166 V(value_of_symbol, "valueOf") \ |
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 int marked_count_; | 1168 int marked_count_; |
1166 | 1169 |
1167 // The count from the end of the previous full GC. Will be zero if there | 1170 // The count from the end of the previous full GC. Will be zero if there |
1168 // was no previous full GC. | 1171 // was no previous full GC. |
1169 int previous_marked_count_; | 1172 int previous_marked_count_; |
1170 }; | 1173 }; |
1171 | 1174 |
1172 } } // namespace v8::internal | 1175 } } // namespace v8::internal |
1173 | 1176 |
1174 #endif // V8_HEAP_H_ | 1177 #endif // V8_HEAP_H_ |
OLD | NEW |