@@ -2114,6 +2114,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
21142114 Builtin::kStringPrototypeIncludes , 1 , false );
21152115 SimpleInstallFunction (isolate_, prototype, " indexOf" ,
21162116 Builtin::kStringPrototypeIndexOf , 1 , false );
2117+ SimpleInstallFunction (isolate (), prototype, " isWellFormed" ,
2118+ Builtin::kStringPrototypeIsWellFormed , 0 , false );
21172119 SimpleInstallFunction (isolate_, prototype, " italics" ,
21182120 Builtin::kStringPrototypeItalics , 0 , false );
21192121 SimpleInstallFunction (isolate_, prototype, " lastIndexOf" ,
@@ -2170,6 +2172,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
21702172 Builtin::kStringPrototypeStartsWith , 1 , false );
21712173 SimpleInstallFunction (isolate_, prototype, " toString" ,
21722174 Builtin::kStringPrototypeToString , 0 , true );
2175+ SimpleInstallFunction (isolate (), prototype, " toWellFormed" ,
2176+ Builtin::kStringPrototypeToWellFormed , 0 , false );
21732177 SimpleInstallFunction (isolate_, prototype, " trim" ,
21742178 Builtin::kStringPrototypeTrim , 0 , false );
21752179
@@ -4959,18 +4963,6 @@ void Genesis::InitializeGlobal_harmony_rab_gsab() {
49594963 Builtin::kSharedArrayBufferPrototypeGrow , 1 , true );
49604964}
49614965
4962- void Genesis::InitializeGlobal_harmony_string_is_well_formed () {
4963- if (!v8_flags.harmony_string_is_well_formed ) return ;
4964- Handle<JSFunction> string_function (native_context ()->string_function (),
4965- isolate ());
4966- Handle<JSObject> string_prototype (
4967- JSObject::cast (string_function->initial_map ().prototype ()), isolate ());
4968- SimpleInstallFunction (isolate (), string_prototype, " isWellFormed" ,
4969- Builtin::kStringPrototypeIsWellFormed , 0 , false );
4970- SimpleInstallFunction (isolate (), string_prototype, " toWellFormed" ,
4971- Builtin::kStringPrototypeToWellFormed , 0 , false );
4972- }
4973-
49744966void Genesis::InitializeGlobal_harmony_temporal () {
49754967 if (!v8_flags.harmony_temporal ) return ;
49764968 // -- T e m p o r a l
0 commit comments