OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_STRING_BUILDER_H_ | 5 #ifndef V8_RUNTIME_STRING_BUILDER_H_ |
6 #define V8_STRING_BUILDER_H_ | 6 #define V8_RUNTIME_STRING_BUILDER_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
11 const int kStringBuilderConcatHelperLengthBits = 11; | 11 const int kStringBuilderConcatHelperLengthBits = 11; |
12 const int kStringBuilderConcatHelperPositionBits = 19; | 12 const int kStringBuilderConcatHelperPositionBits = 19; |
13 | 13 |
14 typedef BitField<int, 0, kStringBuilderConcatHelperLengthBits> | 14 typedef BitField<int, 0, kStringBuilderConcatHelperLengthBits> |
15 StringBuilderSubstringLength; | 15 StringBuilderSubstringLength; |
16 typedef BitField<int, kStringBuilderConcatHelperLengthBits, | 16 typedef BitField<int, kStringBuilderConcatHelperLengthBits, |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 286 |
287 Heap* heap_; | 287 Heap* heap_; |
288 FixedArrayBuilder array_builder_; | 288 FixedArrayBuilder array_builder_; |
289 Handle<String> subject_; | 289 Handle<String> subject_; |
290 int character_count_; | 290 int character_count_; |
291 bool is_one_byte_; | 291 bool is_one_byte_; |
292 }; | 292 }; |
293 } | 293 } |
294 } // namespace v8::internal | 294 } // namespace v8::internal |
295 | 295 |
296 #endif // V8_STRING_BUILDER_H_ | 296 #endif // V8_RUNTIME_STRING_BUILDER_H_ |
OLD | NEW |