Index: src/runtime.h |
diff --git a/src/runtime.h b/src/runtime.h |
index 7a21bb92b4c719c72a169fc4b913f7bec1e24fdc..47102a08421cc07975cf5d29beefd0c37b1cc6d2 100644 |
--- a/src/runtime.h |
+++ b/src/runtime.h |
@@ -575,8 +575,8 @@ namespace internal { |
class RuntimeState { |
public: |
- StaticResource<StringInputBuffer>* string_input_buffer() { |
- return &string_input_buffer_; |
+ StaticResource<ConsStringIteratorOp>* string_iterator() { |
+ return &string_iterator_; |
} |
unibrow::Mapping<unibrow::ToUppercase, 128>* to_upper_mapping() { |
return &to_upper_mapping_; |
@@ -584,29 +584,29 @@ class RuntimeState { |
unibrow::Mapping<unibrow::ToLowercase, 128>* to_lower_mapping() { |
return &to_lower_mapping_; |
} |
- StringInputBuffer* string_input_buffer_compare_bufx() { |
- return &string_input_buffer_compare_bufx_; |
+ ConsStringIteratorOp* string_iterator_compare_x() { |
+ return &string_iterator_compare_x_; |
} |
- StringInputBuffer* string_input_buffer_compare_bufy() { |
- return &string_input_buffer_compare_bufy_; |
+ ConsStringIteratorOp* string_iterator_compare_y() { |
+ return &string_iterator_compare_y_; |
} |
- StringInputBuffer* string_locale_compare_buf1() { |
- return &string_locale_compare_buf1_; |
+ ConsStringIteratorOp* string_locale_compare_it1() { |
+ return &string_locale_compare_it1_; |
} |
- StringInputBuffer* string_locale_compare_buf2() { |
- return &string_locale_compare_buf2_; |
+ ConsStringIteratorOp* string_locale_compare_it2() { |
+ return &string_locale_compare_it2_; |
} |
private: |
RuntimeState() {} |
// Non-reentrant string buffer for efficient general use in the runtime. |
- StaticResource<StringInputBuffer> string_input_buffer_; |
+ StaticResource<ConsStringIteratorOp> string_iterator_; |
unibrow::Mapping<unibrow::ToUppercase, 128> to_upper_mapping_; |
unibrow::Mapping<unibrow::ToLowercase, 128> to_lower_mapping_; |
- StringInputBuffer string_input_buffer_compare_bufx_; |
- StringInputBuffer string_input_buffer_compare_bufy_; |
- StringInputBuffer string_locale_compare_buf1_; |
- StringInputBuffer string_locale_compare_buf2_; |
+ ConsStringIteratorOp string_iterator_compare_x_; |
+ ConsStringIteratorOp string_iterator_compare_y_; |
+ ConsStringIteratorOp string_locale_compare_it1_; |
+ ConsStringIteratorOp string_locale_compare_it2_; |
friend class Isolate; |
friend class Runtime; |