Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 252c51cae4deb756dba58b500ae658fc5b872702..73951f5e39fc2df6f231e54de7ac54102dcc711d 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1292,6 +1292,10 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
attribs); |
string_map->AppendDescriptor(&d); |
} |
+ |
+ // Install the String.fromCharCode function. |
+ SimpleInstallFunction(string_fun, "fromCharCode", |
+ Builtins::kStringFromCharCode, 1, false); |
} |
{ |