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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
128 V(FixedArray, natives_source_cache, NativesSourceCache) \ | 128 V(FixedArray, natives_source_cache, NativesSourceCache) \ |
129 V(Object, last_script_id, LastScriptId) \ | 129 V(Object, last_script_id, LastScriptId) \ |
130 V(Script, empty_script, EmptyScript) \ | 130 V(Script, empty_script, EmptyScript) \ |
131 V(Smi, real_stack_limit, RealStackLimit) \ | 131 V(Smi, real_stack_limit, RealStackLimit) \ |
132 V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ | 132 V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ |
133 | 133 |
134 #define ROOT_LIST(V) \ | 134 #define ROOT_LIST(V) \ |
135 STRONG_ROOT_LIST(V) \ | 135 STRONG_ROOT_LIST(V) \ |
136 V(SymbolTable, symbol_table, SymbolTable) | 136 V(SymbolTable, symbol_table, SymbolTable) |
137 | 137 |
138 #define SYMBOL_LIST(V) \ | 138 #define SYMBOL_LIST(V) \ |
Mads Ager (chromium)
2011/06/09 14:15:45
Is there any actual change here?
Jakob Kummerow
2011/06/09 14:26:40
what exactly is the change here?
danno
2011/06/09 15:03:27
Done. Removed non-relevant white-space changes.
danno
2011/06/09 15:03:27
Done.
| |
139 V(Array_symbol, "Array") \ | 139 V(Array_symbol, "Array") \ |
140 V(Object_symbol, "Object") \ | 140 V(Object_symbol, "Object") \ |
141 V(Proto_symbol, "__proto__") \ | 141 V(Proto_symbol, "__proto__") \ |
142 V(StringImpl_symbol, "StringImpl") \ | 142 V(StringImpl_symbol, "StringImpl") \ |
143 V(arguments_symbol, "arguments") \ | 143 V(arguments_symbol, "arguments") \ |
144 V(Arguments_symbol, "Arguments") \ | 144 V(Arguments_symbol, "Arguments") \ |
145 V(arguments_shadow_symbol, ".arguments") \ | 145 V(arguments_shadow_symbol, ".arguments") \ |
146 V(call_symbol, "call") \ | 146 V(call_symbol, "call") \ |
147 V(apply_symbol, "apply") \ | 147 V(apply_symbol, "apply") \ |
148 V(caller_symbol, "caller") \ | 148 V(caller_symbol, "caller") \ |
149 V(boolean_symbol, "boolean") \ | 149 V(boolean_symbol, "boolean") \ |
150 V(Boolean_symbol, "Boolean") \ | 150 V(Boolean_symbol, "Boolean") \ |
151 V(callee_symbol, "callee") \ | 151 V(callee_symbol, "callee") \ |
152 V(constructor_symbol, "constructor") \ | 152 V(constructor_symbol, "constructor") \ |
153 V(code_symbol, ".code") \ | 153 V(code_symbol, ".code") \ |
154 V(result_symbol, ".result") \ | 154 V(result_symbol, ".result") \ |
155 V(catch_var_symbol, ".catch-var") \ | 155 V(catch_var_symbol, ".catch-var") \ |
156 V(empty_symbol, "") \ | 156 V(empty_symbol, "") \ |
157 V(eval_symbol, "eval") \ | 157 V(eval_symbol, "eval") \ |
158 V(function_symbol, "function") \ | 158 V(function_symbol, "function") \ |
159 V(length_symbol, "length") \ | 159 V(length_symbol, "length") \ |
160 V(name_symbol, "name") \ | 160 V(name_symbol, "name") \ |
161 V(number_symbol, "number") \ | 161 V(number_symbol, "number") \ |
162 V(Number_symbol, "Number") \ | 162 V(Number_symbol, "Number") \ |
163 V(nan_symbol, "NaN") \ | 163 V(nan_symbol, "NaN") \ |
164 V(RegExp_symbol, "RegExp") \ | 164 V(RegExp_symbol, "RegExp") \ |
165 V(source_symbol, "source") \ | 165 V(source_symbol, "source") \ |
166 V(global_symbol, "global") \ | 166 V(global_symbol, "global") \ |
167 V(ignore_case_symbol, "ignoreCase") \ | 167 V(ignore_case_symbol, "ignoreCase") \ |
168 V(multiline_symbol, "multiline") \ | 168 V(multiline_symbol, "multiline") \ |
169 V(input_symbol, "input") \ | 169 V(input_symbol, "input") \ |
170 V(index_symbol, "index") \ | 170 V(index_symbol, "index") \ |
171 V(last_index_symbol, "lastIndex") \ | 171 V(last_index_symbol, "lastIndex") \ |
172 V(object_symbol, "object") \ | 172 V(object_symbol, "object") \ |
173 V(prototype_symbol, "prototype") \ | 173 V(prototype_symbol, "prototype") \ |
174 V(string_symbol, "string") \ | 174 V(string_symbol, "string") \ |
175 V(String_symbol, "String") \ | 175 V(String_symbol, "String") \ |
176 V(Date_symbol, "Date") \ | 176 V(Date_symbol, "Date") \ |
177 V(this_symbol, "this") \ | 177 V(this_symbol, "this") \ |
178 V(to_string_symbol, "toString") \ | 178 V(to_string_symbol, "toString") \ |
179 V(char_at_symbol, "CharAt") \ | 179 V(char_at_symbol, "CharAt") \ |
180 V(undefined_symbol, "undefined") \ | 180 V(undefined_symbol, "undefined") \ |
181 V(value_of_symbol, "valueOf") \ | 181 V(value_of_symbol, "valueOf") \ |
182 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \ | 182 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \ |
183 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \ | 183 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \ |
184 V(KeyedLoadSpecializedMonomorphic_symbol, \ | 184 V(KeyedLoadElementMonomorphic_symbol, \ |
185 "KeyedLoadSpecializedMonomorphic") \ | 185 "KeyedLoadElementMonomorphic") \ |
186 V(KeyedLoadSpecializedPolymorphic_symbol, \ | 186 V(KeyedLoadElementPolymorphic_symbol, \ |
187 "KeyedLoadSpecializedPolymorphic") \ | 187 "KeyedLoadElementPolymorphic") \ |
188 V(KeyedStoreSpecializedMonomorphic_symbol, \ | 188 V(KeyedStoreElementMonomorphic_symbol, \ |
189 "KeyedStoreSpecializedMonomorphic") \ | 189 "KeyedStoreElementMonomorphic") \ |
190 V(KeyedStoreSpecializedPolymorphic_symbol, \ | 190 V(KeyedStoreElementPolymorphic_symbol, \ |
191 "KeyedStoreSpecializedPolymorphic") \ | 191 "KeyedStoreElementSpecializedPolymorphic") \ |
192 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \ | 192 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \ |
193 V(illegal_access_symbol, "illegal access") \ | 193 V(illegal_access_symbol, "illegal access") \ |
194 V(out_of_memory_symbol, "out-of-memory") \ | 194 V(out_of_memory_symbol, "out-of-memory") \ |
195 V(illegal_execution_state_symbol, "illegal execution state") \ | 195 V(illegal_execution_state_symbol, "illegal execution state") \ |
196 V(get_symbol, "get") \ | 196 V(get_symbol, "get") \ |
197 V(set_symbol, "set") \ | 197 V(set_symbol, "set") \ |
198 V(function_class_symbol, "Function") \ | 198 V(function_class_symbol, "Function") \ |
199 V(illegal_argument_symbol, "illegal argument") \ | 199 V(illegal_argument_symbol, "illegal argument") \ |
200 V(MakeReferenceError_symbol, "MakeReferenceError") \ | 200 V(MakeReferenceError_symbol, "MakeReferenceError") \ |
201 V(MakeSyntaxError_symbol, "MakeSyntaxError") \ | 201 V(MakeSyntaxError_symbol, "MakeSyntaxError") \ |
202 V(MakeTypeError_symbol, "MakeTypeError") \ | 202 V(MakeTypeError_symbol, "MakeTypeError") \ |
203 V(invalid_lhs_in_assignment_symbol, "invalid_lhs_in_assignment") \ | 203 V(invalid_lhs_in_assignment_symbol, "invalid_lhs_in_assignment") \ |
204 V(invalid_lhs_in_for_in_symbol, "invalid_lhs_in_for_in") \ | 204 V(invalid_lhs_in_for_in_symbol, "invalid_lhs_in_for_in") \ |
205 V(invalid_lhs_in_postfix_op_symbol, "invalid_lhs_in_postfix_op") \ | 205 V(invalid_lhs_in_postfix_op_symbol, "invalid_lhs_in_postfix_op") \ |
206 V(invalid_lhs_in_prefix_op_symbol, "invalid_lhs_in_prefix_op") \ | 206 V(invalid_lhs_in_prefix_op_symbol, "invalid_lhs_in_prefix_op") \ |
207 V(illegal_return_symbol, "illegal_return") \ | 207 V(illegal_return_symbol, "illegal_return") \ |
208 V(illegal_break_symbol, "illegal_break") \ | 208 V(illegal_break_symbol, "illegal_break") \ |
209 V(illegal_continue_symbol, "illegal_continue") \ | 209 V(illegal_continue_symbol, "illegal_continue") \ |
210 V(unknown_label_symbol, "unknown_label") \ | 210 V(unknown_label_symbol, "unknown_label") \ |
211 V(redeclaration_symbol, "redeclaration") \ | 211 V(redeclaration_symbol, "redeclaration") \ |
212 V(failure_symbol, "<failure>") \ | 212 V(failure_symbol, "<failure>") \ |
213 V(space_symbol, " ") \ | 213 V(space_symbol, " ") \ |
214 V(exec_symbol, "exec") \ | 214 V(exec_symbol, "exec") \ |
215 V(zero_symbol, "0") \ | 215 V(zero_symbol, "0") \ |
216 V(global_eval_symbol, "GlobalEval") \ | 216 V(global_eval_symbol, "GlobalEval") \ |
217 V(identity_hash_symbol, "v8::IdentityHash") \ | 217 V(identity_hash_symbol, "v8::IdentityHash") \ |
218 V(closure_symbol, "(closure)") \ | 218 V(closure_symbol, "(closure)") \ |
219 V(use_strict, "use strict") | 219 V(use_strict, "use strict") |
220 | 220 |
221 // Forward declarations. | 221 // Forward declarations. |
222 class GCTracer; | 222 class GCTracer; |
223 class HeapStats; | 223 class HeapStats; |
224 class Isolate; | 224 class Isolate; |
225 class WeakObjectRetainer; | 225 class WeakObjectRetainer; |
226 | 226 |
227 | 227 |
228 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, | 228 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, |
(...skipping 2054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2283 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2283 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2284 }; | 2284 }; |
2285 #endif // DEBUG || LIVE_OBJECT_LIST | 2285 #endif // DEBUG || LIVE_OBJECT_LIST |
2286 | 2286 |
2287 | 2287 |
2288 } } // namespace v8::internal | 2288 } } // namespace v8::internal |
2289 | 2289 |
2290 #undef HEAP | 2290 #undef HEAP |
2291 | 2291 |
2292 #endif // V8_HEAP_H_ | 2292 #endif // V8_HEAP_H_ |
OLD | NEW |