| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_HEAP_HEAP_H_ | 5 #ifndef V8_HEAP_HEAP_H_ |
| 6 #define V8_HEAP_HEAP_H_ | 6 #define V8_HEAP_HEAP_H_ |
| 7 | 7 |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 193 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
| 194 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 194 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
| 195 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ | 195 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ |
| 196 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) | 196 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) |
| 197 | 197 |
| 198 #define ROOT_LIST(V) \ | 198 #define ROOT_LIST(V) \ |
| 199 STRONG_ROOT_LIST(V) \ | 199 STRONG_ROOT_LIST(V) \ |
| 200 SMI_ROOT_LIST(V) \ | 200 SMI_ROOT_LIST(V) \ |
| 201 V(StringTable, string_table, StringTable) | 201 V(StringTable, string_table, StringTable) |
| 202 | 202 |
| 203 #define INTERNALIZED_STRING_LIST(V) \ | 203 #define INTERNALIZED_STRING_LIST(V) \ |
| 204 V(Object_string, "Object") \ | 204 V(Object_string, "Object") \ |
| 205 V(proto_string, "__proto__") \ | 205 V(proto_string, "__proto__") \ |
| 206 V(arguments_string, "arguments") \ | 206 V(arguments_string, "arguments") \ |
| 207 V(Arguments_string, "Arguments") \ | 207 V(Arguments_string, "Arguments") \ |
| 208 V(caller_string, "caller") \ | 208 V(caller_string, "caller") \ |
| 209 V(boolean_string, "boolean") \ | 209 V(boolean_string, "boolean") \ |
| 210 V(Boolean_string, "Boolean") \ | 210 V(Boolean_string, "Boolean") \ |
| 211 V(callee_string, "callee") \ | 211 V(callee_string, "callee") \ |
| 212 V(constructor_string, "constructor") \ | 212 V(constructor_string, "constructor") \ |
| 213 V(dot_result_string, ".result") \ | 213 V(dot_result_string, ".result") \ |
| 214 V(eval_string, "eval") \ | 214 V(eval_string, "eval") \ |
| 215 V(empty_string, "") \ | 215 V(empty_string, "") \ |
| 216 V(function_string, "function") \ | 216 V(function_string, "function") \ |
| 217 V(Function_string, "Function") \ | 217 V(Function_string, "Function") \ |
| 218 V(length_string, "length") \ | 218 V(length_string, "length") \ |
| 219 V(name_string, "name") \ | 219 V(name_string, "name") \ |
| 220 V(null_string, "null") \ | 220 V(null_string, "null") \ |
| 221 V(number_string, "number") \ | 221 V(number_string, "number") \ |
| 222 V(Number_string, "Number") \ | 222 V(Number_string, "Number") \ |
| 223 V(nan_string, "NaN") \ | 223 V(nan_string, "NaN") \ |
| 224 V(source_string, "source") \ | 224 V(source_string, "source") \ |
| 225 V(source_url_string, "source_url") \ | 225 V(source_url_string, "source_url") \ |
| 226 V(source_mapping_url_string, "source_mapping_url") \ | 226 V(source_mapping_url_string, "source_mapping_url") \ |
| 227 V(global_string, "global") \ | 227 V(global_string, "global") \ |
| 228 V(ignore_case_string, "ignoreCase") \ | 228 V(ignore_case_string, "ignoreCase") \ |
| 229 V(multiline_string, "multiline") \ | 229 V(multiline_string, "multiline") \ |
| 230 V(sticky_string, "sticky") \ | 230 V(sticky_string, "sticky") \ |
| 231 V(unicode_string, "unicode") \ | 231 V(unicode_string, "unicode") \ |
| 232 V(harmony_regexps_string, "harmony_regexps") \ | 232 V(harmony_regexps_string, "harmony_regexps") \ |
| 233 V(harmony_unicode_string, "harmony_unicode") \ | 233 V(harmony_unicode_regexps_string, "harmony_unicode_regexps") \ |
| 234 V(input_string, "input") \ | 234 V(input_string, "input") \ |
| 235 V(index_string, "index") \ | 235 V(index_string, "index") \ |
| 236 V(last_index_string, "lastIndex") \ | 236 V(last_index_string, "lastIndex") \ |
| 237 V(object_string, "object") \ | 237 V(object_string, "object") \ |
| 238 V(prototype_string, "prototype") \ | 238 V(prototype_string, "prototype") \ |
| 239 V(string_string, "string") \ | 239 V(string_string, "string") \ |
| 240 V(String_string, "String") \ | 240 V(String_string, "String") \ |
| 241 V(symbol_string, "symbol") \ | 241 V(symbol_string, "symbol") \ |
| 242 V(Symbol_string, "Symbol") \ | 242 V(Symbol_string, "Symbol") \ |
| 243 V(Map_string, "Map") \ | 243 V(Map_string, "Map") \ |
| 244 V(Set_string, "Set") \ | 244 V(Set_string, "Set") \ |
| 245 V(WeakMap_string, "WeakMap") \ | 245 V(WeakMap_string, "WeakMap") \ |
| 246 V(WeakSet_string, "WeakSet") \ | 246 V(WeakSet_string, "WeakSet") \ |
| 247 V(for_string, "for") \ | 247 V(for_string, "for") \ |
| 248 V(for_api_string, "for_api") \ | 248 V(for_api_string, "for_api") \ |
| 249 V(for_intern_string, "for_intern") \ | 249 V(for_intern_string, "for_intern") \ |
| 250 V(private_api_string, "private_api") \ | 250 V(private_api_string, "private_api") \ |
| 251 V(private_intern_string, "private_intern") \ | 251 V(private_intern_string, "private_intern") \ |
| 252 V(Date_string, "Date") \ | 252 V(Date_string, "Date") \ |
| 253 V(char_at_string, "CharAt") \ | 253 V(char_at_string, "CharAt") \ |
| 254 V(undefined_string, "undefined") \ | 254 V(undefined_string, "undefined") \ |
| 255 V(value_of_string, "valueOf") \ | 255 V(value_of_string, "valueOf") \ |
| 256 V(stack_string, "stack") \ | 256 V(stack_string, "stack") \ |
| 257 V(toJSON_string, "toJSON") \ | 257 V(toJSON_string, "toJSON") \ |
| 258 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ | 258 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ |
| 259 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ | 259 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ |
| 260 V(stack_overflow_string, "kStackOverflowBoilerplate") \ | 260 V(stack_overflow_string, "kStackOverflowBoilerplate") \ |
| 261 V(illegal_access_string, "illegal access") \ | 261 V(illegal_access_string, "illegal access") \ |
| 262 V(cell_value_string, "%cell_value") \ | 262 V(cell_value_string, "%cell_value") \ |
| 263 V(illegal_argument_string, "illegal argument") \ | 263 V(illegal_argument_string, "illegal argument") \ |
| 264 V(identity_hash_string, "v8::IdentityHash") \ | 264 V(identity_hash_string, "v8::IdentityHash") \ |
| 265 V(closure_string, "(closure)") \ | 265 V(closure_string, "(closure)") \ |
| 266 V(dot_string, ".") \ | 266 V(dot_string, ".") \ |
| 267 V(compare_ic_string, "==") \ | 267 V(compare_ic_string, "==") \ |
| 268 V(strict_compare_ic_string, "===") \ | 268 V(strict_compare_ic_string, "===") \ |
| 269 V(infinity_string, "Infinity") \ | 269 V(infinity_string, "Infinity") \ |
| 270 V(minus_infinity_string, "-Infinity") \ | 270 V(minus_infinity_string, "-Infinity") \ |
| 271 V(query_colon_string, "(?:)") \ | 271 V(query_colon_string, "(?:)") \ |
| 272 V(Generator_string, "Generator") \ | 272 V(Generator_string, "Generator") \ |
| 273 V(throw_string, "throw") \ | 273 V(throw_string, "throw") \ |
| 274 V(done_string, "done") \ | 274 V(done_string, "done") \ |
| 275 V(value_string, "value") \ | 275 V(value_string, "value") \ |
| 276 V(next_string, "next") \ | 276 V(next_string, "next") \ |
| 277 V(byte_length_string, "byteLength") \ | 277 V(byte_length_string, "byteLength") \ |
| 278 V(byte_offset_string, "byteOffset") \ | 278 V(byte_offset_string, "byteOffset") \ |
| 279 V(minus_zero_string, "-0") \ | 279 V(minus_zero_string, "-0") \ |
| 280 V(Array_string, "Array") \ | 280 V(Array_string, "Array") \ |
| 281 V(Error_string, "Error") \ | 281 V(Error_string, "Error") \ |
| 282 V(RegExp_string, "RegExp") | 282 V(RegExp_string, "RegExp") |
| 283 | 283 |
| 284 #define PRIVATE_SYMBOL_LIST(V) \ | 284 #define PRIVATE_SYMBOL_LIST(V) \ |
| 285 V(nonextensible_symbol) \ | 285 V(nonextensible_symbol) \ |
| 286 V(sealed_symbol) \ | 286 V(sealed_symbol) \ |
| 287 V(frozen_symbol) \ | 287 V(frozen_symbol) \ |
| 288 V(nonexistent_symbol) \ | 288 V(nonexistent_symbol) \ |
| 289 V(elements_transition_symbol) \ | 289 V(elements_transition_symbol) \ |
| 290 V(prototype_users_symbol) \ | 290 V(prototype_users_symbol) \ |
| 291 V(observed_symbol) \ | 291 V(observed_symbol) \ |
| (...skipping 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2588 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2588 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 2589 | 2589 |
| 2590 private: | 2590 private: |
| 2591 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2591 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2592 }; | 2592 }; |
| 2593 #endif // DEBUG | 2593 #endif // DEBUG |
| 2594 } | 2594 } |
| 2595 } // namespace v8::internal | 2595 } // namespace v8::internal |
| 2596 | 2596 |
| 2597 #endif // V8_HEAP_HEAP_H_ | 2597 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |