Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 045a63005e99f272fb0a312d5d4de707428d8551..3f8ac436b634627ce276e93e337f705cb1664301 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1494,6 +1494,8 @@ void Genesis::BuildSpecialFunctionTable() { |
Handle<Code>(Builtins::builtin(Builtins::ArrayPush))); |
AddSpecialFunction(special_prototype, "shift", |
Handle<Code>(Builtins::builtin(Builtins::ArrayShift))); |
+ AddSpecialFunction(special_prototype, "unshift", |
+ Handle<Code>(Builtins::builtin(Builtins::ArrayUnshift))); |
} |