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

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: Patched RegExp for string slices. Created 9 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 | 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) \
95 V(Map, sliced_symbol_map, SlicedSymbolMap) \
antonm 2011/08/04 12:18:48 do we need these symbol maps?
96 V(Map, sliced_ascii_symbol_map, SlicedAsciiSymbolMap) \
93 V(Map, external_symbol_map, ExternalSymbolMap) \ 97 V(Map, external_symbol_map, ExternalSymbolMap) \
94 V(Map, external_symbol_with_ascii_data_map, ExternalSymbolWithAsciiDataMap) \ 98 V(Map, external_symbol_with_ascii_data_map, ExternalSymbolWithAsciiDataMap) \
95 V(Map, external_ascii_symbol_map, ExternalAsciiSymbolMap) \ 99 V(Map, external_ascii_symbol_map, ExternalAsciiSymbolMap) \
96 V(Map, external_string_map, ExternalStringMap) \ 100 V(Map, external_string_map, ExternalStringMap) \
97 V(Map, external_string_with_ascii_data_map, ExternalStringWithAsciiDataMap) \ 101 V(Map, external_string_with_ascii_data_map, ExternalStringWithAsciiDataMap) \
98 V(Map, external_ascii_string_map, ExternalAsciiStringMap) \ 102 V(Map, external_ascii_string_map, ExternalAsciiStringMap) \
99 V(Map, undetectable_string_map, UndetectableStringMap) \ 103 V(Map, undetectable_string_map, UndetectableStringMap) \
100 V(Map, undetectable_ascii_string_map, UndetectableAsciiStringMap) \ 104 V(Map, undetectable_ascii_string_map, UndetectableAsciiStringMap) \
101 V(Map, external_pixel_array_map, ExternalPixelArrayMap) \ 105 V(Map, external_pixel_array_map, ExternalPixelArrayMap) \
102 V(Map, external_byte_array_map, ExternalByteArrayMap) \ 106 V(Map, external_byte_array_map, ExternalByteArrayMap) \
(...skipping 2192 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2299 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2296 }; 2300 };
2297 #endif // DEBUG || LIVE_OBJECT_LIST 2301 #endif // DEBUG || LIVE_OBJECT_LIST
2298 2302
2299 2303
2300 } } // namespace v8::internal 2304 } } // namespace v8::internal
2301 2305
2302 #undef HEAP 2306 #undef HEAP
2303 2307
2304 #endif // V8_HEAP_H_ 2308 #endif // V8_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698