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

Side by Side Diff: src/heap.h

Issue 7477045: Tentative implementation of string slices (hidden under the flag --string-slices). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Some more suggested changes. Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 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
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ 80 V(FixedArray, empty_fixed_array, EmptyFixedArray) \
81 V(ByteArray, empty_byte_array, EmptyByteArray) \ 81 V(ByteArray, empty_byte_array, EmptyByteArray) \
82 V(FixedDoubleArray, empty_fixed_double_array, EmptyFixedDoubleArray) \ 82 V(FixedDoubleArray, empty_fixed_double_array, EmptyFixedDoubleArray) \
83 V(String, empty_string, EmptyString) \ 83 V(String, empty_string, EmptyString) \
84 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ 84 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \
85 V(Map, string_map, StringMap) \ 85 V(Map, string_map, StringMap) \
86 V(Map, ascii_string_map, AsciiStringMap) \ 86 V(Map, ascii_string_map, AsciiStringMap) \
87 V(Map, symbol_map, SymbolMap) \ 87 V(Map, symbol_map, SymbolMap) \
88 V(Map, cons_string_map, ConsStringMap) \ 88 V(Map, cons_string_map, ConsStringMap) \
89 V(Map, cons_ascii_string_map, ConsAsciiStringMap) \ 89 V(Map, cons_ascii_string_map, ConsAsciiStringMap) \
90 V(Map, sliced_string_map, SlicedStringMap) \
91 V(Map, sliced_ascii_string_map, SlicedAsciiStringMap) \
90 V(Map, ascii_symbol_map, AsciiSymbolMap) \ 92 V(Map, ascii_symbol_map, AsciiSymbolMap) \
91 V(Map, cons_symbol_map, ConsSymbolMap) \ 93 V(Map, cons_symbol_map, ConsSymbolMap) \
92 V(Map, cons_ascii_symbol_map, ConsAsciiSymbolMap) \ 94 V(Map, cons_ascii_symbol_map, ConsAsciiSymbolMap) \
93 V(Map, external_symbol_map, ExternalSymbolMap) \ 95 V(Map, external_symbol_map, ExternalSymbolMap) \
94 V(Map, external_symbol_with_ascii_data_map, ExternalSymbolWithAsciiDataMap) \ 96 V(Map, external_symbol_with_ascii_data_map, ExternalSymbolWithAsciiDataMap) \
95 V(Map, external_ascii_symbol_map, ExternalAsciiSymbolMap) \ 97 V(Map, external_ascii_symbol_map, ExternalAsciiSymbolMap) \
96 V(Map, external_string_map, ExternalStringMap) \ 98 V(Map, external_string_map, ExternalStringMap) \
97 V(Map, external_string_with_ascii_data_map, ExternalStringWithAsciiDataMap) \ 99 V(Map, external_string_with_ascii_data_map, ExternalStringWithAsciiDataMap) \
98 V(Map, external_ascii_string_map, ExternalAsciiStringMap) \ 100 V(Map, external_ascii_string_map, ExternalAsciiStringMap) \
99 V(Map, undetectable_string_map, UndetectableStringMap) \ 101 V(Map, undetectable_string_map, UndetectableStringMap) \
(...skipping 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2297 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2296 }; 2298 };
2297 #endif // DEBUG || LIVE_OBJECT_LIST 2299 #endif // DEBUG || LIVE_OBJECT_LIST
2298 2300
2299 2301
2300 } } // namespace v8::internal 2302 } } // namespace v8::internal
2301 2303
2302 #undef HEAP 2304 #undef HEAP
2303 2305
2304 #endif // V8_HEAP_H_ 2306 #endif // V8_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698