Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index 51b8cb956b171519d16c3d96b941782b9c4a3cd2..4e8a96a6d8dfe533ff5aeb12a60253621815e879 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -65,12 +65,7 @@ RUNTIME_FUNCTION(Runtime_SpecialArrayFunctions) { |
isolate->factory()->NewJSObject(isolate->object_function()); |
InstallBuiltin(isolate, holder, "pop", Builtins::kArrayPop); |
- if (FLAG_minimal) { |
- InstallBuiltin(isolate, holder, "push", Builtins::kArrayPush); |
- } else { |
- FastArrayPushStub stub(isolate); |
- InstallCode(isolate, holder, "push", stub.GetCode()); |
- } |
+ InstallBuiltin(isolate, holder, "push", Builtins::kFastArrayPush); |
InstallBuiltin(isolate, holder, "shift", Builtins::kArrayShift); |
InstallBuiltin(isolate, holder, "unshift", Builtins::kArrayUnshift); |
InstallBuiltin(isolate, holder, "slice", Builtins::kArraySlice); |