5 #ifndef V8_INTL_SUPPORT 6 #error Internationalization is expected to be enabled. 7 #endif // V8_INTL_SUPPORT 9 #ifndef V8_OBJECTS_JS_COLLATOR_H_ 10 #define V8_OBJECTS_JS_COLLATOR_H_ 15 #include "src/heap/factory.h" 16 #include "src/isolate.h" 17 #include "src/objects.h" 18 #include "src/objects/intl-objects.h" 19 #include "src/objects/managed.h" 22 #include "src/objects/object-macros.h" 42 static std::set<std::string> GetAvailableLocales();
49 #define JS_COLLATOR_FIELDS(V) \ 50 V(kICUCollatorOffset, kTaggedSize) \ 51 V(kBoundCompareOffset, kTaggedSize) \ 55 DEFINE_FIELD_OFFSET_CONSTANTS(JSObject::kHeaderSize, JS_COLLATOR_FIELDS)
56 #undef JS_COLLATOR_FIELDS 59 DECL_ACCESSORS(bound_compare,
Object);
68 #include "src/objects/object-macros-undef.h" 70 #endif // V8_OBJECTS_JS_COLLATOR_H_