Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 9cc361cae420c388138734918899382006da977f..0d1c070e47e36418ee566dd637d97f72a2fcd8ec 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1255,22 +1255,6 @@ |
attribs); |
string_map->AppendDescriptor(&d); |
} |
- |
- // Create the %StringPrototype% |
- Handle<JSValue> prototype = |
- Handle<JSValue>::cast(factory->NewJSObject(string_fun, TENURED)); |
- prototype->set_value(isolate->heap()->empty_string()); |
- Accessors::FunctionSetPrototype(string_fun, prototype).Assert(); |
- |
- // Install the "constructor" property on the {prototype}. |
- JSObject::AddProperty(prototype, factory->constructor_string(), string_fun, |
- DONT_ENUM); |
- |
- // Install the String.prototype methods. |
- SimpleInstallFunction(prototype, "charAt", Builtins::kStringPrototypeCharAt, |
- 1, true); |
- SimpleInstallFunction(prototype, "charCodeAt", |
- Builtins::kStringPrototypeCharCodeAt, 1, true); |
} |
{ |