| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 5907321ab4825ffd479384a0c54cf599b055d1ac..c2a727d7b238e5904eb3e48c029fc908d7cb7c1c 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1320,6 +1320,10 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| string_map->AppendDescriptor(&d);
|
| }
|
|
|
| + // Install the String.fromCharCode function.
|
| + SimpleInstallFunction(string_fun, "fromCharCode",
|
| + Builtins::kStringFromCharCode, 1, false);
|
| +
|
| // Create the %StringPrototype%
|
| Handle<JSValue> prototype =
|
| Handle<JSValue>::cast(factory->NewJSObject(string_fun, TENURED));
|
|
|