Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: src/heap/heap.h

Issue 1558543002: Add a --harmony-species flag, defining @@species on constructors (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | src/js/harmony-species.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/js/harmony-species.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698