@@ -2158,6 +2158,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
21582158 Builtin::kStringPrototypeIncludes , 1 , false );
21592159 SimpleInstallFunction (isolate_, prototype, " indexOf" ,
21602160 Builtin::kStringPrototypeIndexOf , 1 , false );
2161+ SimpleInstallFunction (isolate (), prototype, " isWellFormed" ,
2162+ Builtin::kStringPrototypeIsWellFormed , 0 , false );
21612163 SimpleInstallFunction (isolate_, prototype, " italics" ,
21622164 Builtin::kStringPrototypeItalics , 0 , false );
21632165 SimpleInstallFunction (isolate_, prototype, " lastIndexOf" ,
@@ -2214,6 +2216,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
22142216 Builtin::kStringPrototypeStartsWith , 1 , false );
22152217 SimpleInstallFunction (isolate_, prototype, " toString" ,
22162218 Builtin::kStringPrototypeToString , 0 , true );
2219+ SimpleInstallFunction (isolate (), prototype, " toWellFormed" ,
2220+ Builtin::kStringPrototypeToWellFormed , 0 , false );
22172221 SimpleInstallFunction (isolate_, prototype, " trim" ,
22182222 Builtin::kStringPrototypeTrim , 0 , false );
22192223
@@ -5062,18 +5066,6 @@ void Genesis::InitializeGlobal_harmony_rab_gsab() {
50625066 Builtin::kSharedArrayBufferPrototypeGrow , 1 , true );
50635067}
50645068
5065- void Genesis::InitializeGlobal_harmony_string_is_well_formed () {
5066- if (!v8_flags.harmony_string_is_well_formed ) return ;
5067- Handle<JSFunction> string_function (native_context ()->string_function (),
5068- isolate ());
5069- Handle<JSObject> string_prototype (
5070- JSObject::cast (string_function->initial_map ()->prototype ()), isolate ());
5071- SimpleInstallFunction (isolate (), string_prototype, " isWellFormed" ,
5072- Builtin::kStringPrototypeIsWellFormed , 0 , false );
5073- SimpleInstallFunction (isolate (), string_prototype, " toWellFormed" ,
5074- Builtin::kStringPrototypeToWellFormed , 0 , false );
5075- }
5076-
50775069void Genesis::InitializeGlobal_harmony_temporal () {
50785070 if (!v8_flags.harmony_temporal ) return ;
50795071 // -- T e m p o r a l
0 commit comments