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

Side by Side Diff: src/heap.h

Issue 3144002: Copy-on-write arrays. (Closed)
Patch Set: Review fixes. Created 10 years, 4 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/codegen.h ('k') | src/heap.cc » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 /* Cluster the most popular ones in a few cache lines here at the top. */ \ 48 /* Cluster the most popular ones in a few cache lines here at the top. */ \
49 V(Smi, stack_limit, StackLimit) \ 49 V(Smi, stack_limit, StackLimit) \
50 V(Object, undefined_value, UndefinedValue) \ 50 V(Object, undefined_value, UndefinedValue) \
51 V(Object, the_hole_value, TheHoleValue) \ 51 V(Object, the_hole_value, TheHoleValue) \
52 V(Object, null_value, NullValue) \ 52 V(Object, null_value, NullValue) \
53 V(Object, true_value, TrueValue) \ 53 V(Object, true_value, TrueValue) \
54 V(Object, false_value, FalseValue) \ 54 V(Object, false_value, FalseValue) \
55 V(Map, heap_number_map, HeapNumberMap) \ 55 V(Map, heap_number_map, HeapNumberMap) \
56 V(Map, global_context_map, GlobalContextMap) \ 56 V(Map, global_context_map, GlobalContextMap) \
57 V(Map, fixed_array_map, FixedArrayMap) \ 57 V(Map, fixed_array_map, FixedArrayMap) \
58 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \
58 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ 59 V(Object, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \
59 V(Map, meta_map, MetaMap) \ 60 V(Map, meta_map, MetaMap) \
60 V(Object, termination_exception, TerminationException) \ 61 V(Object, termination_exception, TerminationException) \
61 V(Map, hash_table_map, HashTableMap) \ 62 V(Map, hash_table_map, HashTableMap) \
62 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ 63 V(FixedArray, empty_fixed_array, EmptyFixedArray) \
63 V(Map, string_map, StringMap) \ 64 V(Map, string_map, StringMap) \
64 V(Map, ascii_string_map, AsciiStringMap) \ 65 V(Map, ascii_string_map, AsciiStringMap) \
65 V(Map, symbol_map, SymbolMap) \ 66 V(Map, symbol_map, SymbolMap) \
66 V(Map, ascii_symbol_map, AsciiSymbolMap) \ 67 V(Map, ascii_symbol_map, AsciiSymbolMap) \
67 V(Map, cons_symbol_map, ConsSymbolMap) \ 68 V(Map, cons_symbol_map, ConsSymbolMap) \
(...skipping 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after
1979 1980
1980 // To speed up scavenge collections new space string are kept 1981 // To speed up scavenge collections new space string are kept
1981 // separate from old space strings. 1982 // separate from old space strings.
1982 static List<Object*> new_space_strings_; 1983 static List<Object*> new_space_strings_;
1983 static List<Object*> old_space_strings_; 1984 static List<Object*> old_space_strings_;
1984 }; 1985 };
1985 1986
1986 } } // namespace v8::internal 1987 } } // namespace v8::internal
1987 1988
1988 #endif // V8_HEAP_H_ 1989 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/codegen.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698