@@ -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
@@ -5068,18 +5072,6 @@ void Genesis::InitializeGlobal_harmony_rab_gsab() {
50685072                        Builtin::kSharedArrayBufferPrototypeGrow , 1 , true );
50695073}
50705074
5071- void  Genesis::InitializeGlobal_harmony_string_is_well_formed () {
5072-   if  (!v8_flags.harmony_string_is_well_formed ) return ;
5073-   Handle<JSFunction> string_function (native_context ()->string_function (),
5074-                                      isolate ());
5075-   Handle<JSObject> string_prototype (
5076-       JSObject::cast (string_function->initial_map ()->prototype ()), isolate ());
5077-   SimpleInstallFunction (isolate (), string_prototype, " isWellFormed"  ,
5078-                         Builtin::kStringPrototypeIsWellFormed , 0 , false );
5079-   SimpleInstallFunction (isolate (), string_prototype, " toWellFormed"  ,
5080-                         Builtin::kStringPrototypeToWellFormed , 0 , false );
5081- }
5082- 
50835075void  Genesis::InitializeGlobal_harmony_temporal () {
50845076  if  (!v8_flags.harmony_temporal ) return ;
50855077  //  -- T e m p o r a l
0 commit comments