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 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 V(promise_status_symbol) \ | 369 V(promise_status_symbol) \ |
370 V(promise_value_symbol) \ | 370 V(promise_value_symbol) \ |
371 V(sealed_symbol) \ | 371 V(sealed_symbol) \ |
372 V(stack_trace_symbol) \ | 372 V(stack_trace_symbol) \ |
373 V(strict_function_transition_symbol) \ | 373 V(strict_function_transition_symbol) \ |
374 V(string_iterator_iterated_string_symbol) \ | 374 V(string_iterator_iterated_string_symbol) \ |
375 V(string_iterator_next_index_symbol) \ | 375 V(string_iterator_next_index_symbol) \ |
376 V(strong_function_transition_symbol) \ | 376 V(strong_function_transition_symbol) \ |
377 V(uninitialized_symbol) | 377 V(uninitialized_symbol) |
378 | 378 |
379 #define PUBLIC_SYMBOL_LIST(V) \ | 379 #define PUBLIC_SYMBOL_LIST(V) \ |
380 V(has_instance_symbol, Symbol.hasInstance) \ | 380 V(has_instance_symbol, Symbol.hasInstance) \ |
381 V(iterator_symbol, Symbol.iterator) \ | 381 V(iterator_symbol, Symbol.iterator) \ |
382 V(match_symbol, Symbol.match) \ | 382 V(match_symbol, Symbol.match) \ |
383 V(replace_symbol, Symbol.replace) \ | 383 V(replace_symbol, Symbol.replace) \ |
384 V(search_symbol, Symbol.search) \ | 384 V(search_symbol, Symbol.search) \ |
385 V(split_symbol, Symbol.split) \ | 385 V(species_symbol, Symbol.species) \ |
386 V(to_primitive_symbol, Symbol.toPrimitive) \ | 386 V(split_symbol, Symbol.split) \ |
| 387 V(to_primitive_symbol, Symbol.toPrimitive) \ |
387 V(unscopables_symbol, Symbol.unscopables) | 388 V(unscopables_symbol, Symbol.unscopables) |
388 | 389 |
389 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 390 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
390 // them to produce an undefined value when a load results in a failed access | 391 // them to produce an undefined value when a load results in a failed access |
391 // check. Because this behaviour is not specified properly as of yet, it only | 392 // check. Because this behaviour is not specified properly as of yet, it only |
392 // applies to a subset of spec-defined Well-Known Symbols. | 393 // applies to a subset of spec-defined Well-Known Symbols. |
393 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 394 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
394 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 395 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
395 V(to_string_tag_symbol, Symbol.toStringTag) | 396 V(to_string_tag_symbol, Symbol.toStringTag) |
396 | 397 |
(...skipping 2355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2752 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2753 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2753 | 2754 |
2754 private: | 2755 private: |
2755 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2756 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2756 }; | 2757 }; |
2757 #endif // DEBUG | 2758 #endif // DEBUG |
2758 } // namespace internal | 2759 } // namespace internal |
2759 } // namespace v8 | 2760 } // namespace v8 |
2760 | 2761 |
2761 #endif // V8_HEAP_HEAP_H_ | 2762 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |