Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index b95cc1ad79365a6eefcd231204e682a621e9bcc4..915b2e6a694107351fc160cb8d88cd3eb5e9eaaa 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2483,6 +2483,10 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
values->shared()->set_builtin_function_id(kTypedArrayValues); |
JSObject::AddProperty(prototype, factory->iterator_symbol(), values, |
DONT_ENUM); |
+ |
+ // TODO(caitp): alphasort accessors/methods |
+ SimpleInstallFunction(prototype, "copyWithin", |
+ Builtins::kTypedArrayPrototypeCopyWithin, 2, false); |
} |
{ // -- T y p e d A r r a y s |