| OLD | NEW |
| 1 // Copyright 2010 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 V(string_symbol, "string") \ | 170 V(string_symbol, "string") \ |
| 171 V(String_symbol, "String") \ | 171 V(String_symbol, "String") \ |
| 172 V(Date_symbol, "Date") \ | 172 V(Date_symbol, "Date") \ |
| 173 V(this_symbol, "this") \ | 173 V(this_symbol, "this") \ |
| 174 V(to_string_symbol, "toString") \ | 174 V(to_string_symbol, "toString") \ |
| 175 V(char_at_symbol, "CharAt") \ | 175 V(char_at_symbol, "CharAt") \ |
| 176 V(undefined_symbol, "undefined") \ | 176 V(undefined_symbol, "undefined") \ |
| 177 V(value_of_symbol, "valueOf") \ | 177 V(value_of_symbol, "valueOf") \ |
| 178 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \ | 178 V(InitializeVarGlobal_symbol, "InitializeVarGlobal") \ |
| 179 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \ | 179 V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \ |
| 180 V(KeyedLoadSpecialized_symbol, "KeyedLoadSpecialized") \ | 180 V(KeyedLoadSpecializedMonomorphic_symbol, \ |
| 181 V(KeyedStoreSpecialized_symbol, "KeyedStoreSpecialized") \ | 181 "KeyedLoadSpecializedMonomorphic") \ |
| 182 V(KeyedLoadSpecializedPolymorphic_symbol, \ |
| 183 "KeyedLoadSpecializedPolymorphic") \ |
| 184 V(KeyedStoreSpecializedMonomorphic_symbol, \ |
| 185 "KeyedStoreSpecializedMonomorphic") \ |
| 186 V(KeyedStoreSpecializedPolymorphic_symbol, \ |
| 187 "KeyedStoreSpecializedPolymorphic") \ |
| 182 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \ | 188 V(stack_overflow_symbol, "kStackOverflowBoilerplate") \ |
| 183 V(illegal_access_symbol, "illegal access") \ | 189 V(illegal_access_symbol, "illegal access") \ |
| 184 V(out_of_memory_symbol, "out-of-memory") \ | 190 V(out_of_memory_symbol, "out-of-memory") \ |
| 185 V(illegal_execution_state_symbol, "illegal execution state") \ | 191 V(illegal_execution_state_symbol, "illegal execution state") \ |
| 186 V(get_symbol, "get") \ | 192 V(get_symbol, "get") \ |
| 187 V(set_symbol, "set") \ | 193 V(set_symbol, "set") \ |
| 188 V(function_class_symbol, "Function") \ | 194 V(function_class_symbol, "Function") \ |
| 189 V(illegal_argument_symbol, "illegal argument") \ | 195 V(illegal_argument_symbol, "illegal argument") \ |
| 190 V(MakeReferenceError_symbol, "MakeReferenceError") \ | 196 V(MakeReferenceError_symbol, "MakeReferenceError") \ |
| 191 V(MakeSyntaxError_symbol, "MakeSyntaxError") \ | 197 V(MakeSyntaxError_symbol, "MakeSyntaxError") \ |
| 192 V(MakeTypeError_symbol, "MakeTypeError") \ | 198 V(MakeTypeError_symbol, "MakeTypeError") \ |
| 193 V(invalid_lhs_in_assignment_symbol, "invalid_lhs_in_assignment") \ | 199 V(invalid_lhs_in_assignment_symbol, "invalid_lhs_in_assignment") \ |
| 194 V(invalid_lhs_in_for_in_symbol, "invalid_lhs_in_for_in") \ | 200 V(invalid_lhs_in_for_in_symbol, "invalid_lhs_in_for_in") \ |
| 195 V(invalid_lhs_in_postfix_op_symbol, "invalid_lhs_in_postfix_op") \ | 201 V(invalid_lhs_in_postfix_op_symbol, "invalid_lhs_in_postfix_op") \ |
| 196 V(invalid_lhs_in_prefix_op_symbol, "invalid_lhs_in_prefix_op") \ | 202 V(invalid_lhs_in_prefix_op_symbol, "invalid_lhs_in_prefix_op") \ |
| 197 V(illegal_return_symbol, "illegal_return") \ | 203 V(illegal_return_symbol, "illegal_return") \ |
| 198 V(illegal_break_symbol, "illegal_break") \ | 204 V(illegal_break_symbol, "illegal_break") \ |
| 199 V(illegal_continue_symbol, "illegal_continue") \ | 205 V(illegal_continue_symbol, "illegal_continue") \ |
| 200 V(unknown_label_symbol, "unknown_label") \ | 206 V(unknown_label_symbol, "unknown_label") \ |
| 201 V(redeclaration_symbol, "redeclaration") \ | 207 V(redeclaration_symbol, "redeclaration") \ |
| 202 V(failure_symbol, "<failure>") \ | 208 V(failure_symbol, "<failure>") \ |
| 203 V(space_symbol, " ") \ | 209 V(space_symbol, " ") \ |
| 204 V(exec_symbol, "exec") \ | 210 V(exec_symbol, "exec") \ |
| 205 V(zero_symbol, "0") \ | 211 V(zero_symbol, "0") \ |
| 206 V(global_eval_symbol, "GlobalEval") \ | 212 V(global_eval_symbol, "GlobalEval") \ |
| 207 V(identity_hash_symbol, "v8::IdentityHash") \ | 213 V(identity_hash_symbol, "v8::IdentityHash") \ |
| 208 V(closure_symbol, "(closure)") \ | 214 V(closure_symbol, "(closure)") \ |
| 209 V(use_strict, "use strict") \ | 215 V(use_strict, "use strict") |
| 210 V(KeyedLoadExternalByteArray_symbol, "KeyedLoadExternalByteArray") \ | |
| 211 V(KeyedLoadExternalUnsignedByteArray_symbol, \ | |
| 212 "KeyedLoadExternalUnsignedByteArray") \ | |
| 213 V(KeyedLoadExternalShortArray_symbol, \ | |
| 214 "KeyedLoadExternalShortArray") \ | |
| 215 V(KeyedLoadExternalUnsignedShortArray_symbol, \ | |
| 216 "KeyedLoadExternalUnsignedShortArray") \ | |
| 217 V(KeyedLoadExternalIntArray_symbol, "KeyedLoadExternalIntArray") \ | |
| 218 V(KeyedLoadExternalUnsignedIntArray_symbol, \ | |
| 219 "KeyedLoadExternalUnsignedIntArray") \ | |
| 220 V(KeyedLoadExternalFloatArray_symbol, "KeyedLoadExternalFloatArray") \ | |
| 221 V(KeyedLoadExternalDoubleArray_symbol, "KeyedLoadExternalDoubleArray") \ | |
| 222 V(KeyedLoadExternalPixelArray_symbol, "KeyedLoadExternalPixelArray") \ | |
| 223 V(KeyedStoreExternalByteArray_symbol, "KeyedStoreExternalByteArray") \ | |
| 224 V(KeyedStoreExternalUnsignedByteArray_symbol, \ | |
| 225 "KeyedStoreExternalUnsignedByteArray") \ | |
| 226 V(KeyedStoreExternalShortArray_symbol, "KeyedStoreExternalShortArray") \ | |
| 227 V(KeyedStoreExternalUnsignedShortArray_symbol, \ | |
| 228 "KeyedStoreExternalUnsignedShortArray") \ | |
| 229 V(KeyedStoreExternalIntArray_symbol, "KeyedStoreExternalIntArray") \ | |
| 230 V(KeyedStoreExternalUnsignedIntArray_symbol, \ | |
| 231 "KeyedStoreExternalUnsignedIntArray") \ | |
| 232 V(KeyedStoreExternalFloatArray_symbol, "KeyedStoreExternalFloatArray") \ | |
| 233 V(KeyedStoreExternalDoubleArray_symbol, "KeyedStoreExternalDoubleArray") \ | |
| 234 V(KeyedStoreExternalPixelArray_symbol, "KeyedStoreExternalPixelArray") | |
| 235 | 216 |
| 236 // Forward declarations. | 217 // Forward declarations. |
| 237 class GCTracer; | 218 class GCTracer; |
| 238 class HeapStats; | 219 class HeapStats; |
| 239 class Isolate; | 220 class Isolate; |
| 240 class WeakObjectRetainer; | 221 class WeakObjectRetainer; |
| 241 | 222 |
| 242 | 223 |
| 243 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, | 224 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, |
| 244 Object** pointer); | 225 Object** pointer); |
| (...skipping 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2258 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2239 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2259 }; | 2240 }; |
| 2260 #endif // DEBUG || LIVE_OBJECT_LIST | 2241 #endif // DEBUG || LIVE_OBJECT_LIST |
| 2261 | 2242 |
| 2262 | 2243 |
| 2263 } } // namespace v8::internal | 2244 } } // namespace v8::internal |
| 2264 | 2245 |
| 2265 #undef HEAP | 2246 #undef HEAP |
| 2266 | 2247 |
| 2267 #endif // V8_HEAP_H_ | 2248 #endif // V8_HEAP_H_ |
| OLD | NEW |