Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 3dc58eb901d518e698593e019f9b896bde8a987d..81a3e86161eb5fa6b2f2fc4e63c5e8a45f868891 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -4197,6 +4197,10 @@ bool Genesis::InstallNatives(GlobalContextType context_type) { |
// Install Array.prototype.reduce |
InstallArrayBuiltinFunction(proto, "reduce", Builtins::kArrayReduce, 2); |
+ |
+ // Install Array.prototype.reduceRight |
+ InstallArrayBuiltinFunction(proto, "reduceRight", |
+ Builtins::kArrayReduceRight, 2); |
} |
// Install InternalArray.prototype.concat |