Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index b0a6b5e81427e1588a89f1c269a2b1e90c78f98b..e90e3a9b7ec75bfec2f86edd955a3f433d55ec31 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -9188,7 +9188,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_AllocateInNewSpace) { |
RUNTIME_FUNCTION(MaybeObject*, Runtime_PushIfAbsent) { |
ASSERT(args.length() == 2); |
CONVERT_ARG_CHECKED(JSArray, array, 0); |
- CONVERT_ARG_CHECKED(JSObject, element, 1); |
+ CONVERT_ARG_CHECKED(JSReceiver, element, 1); |
RUNTIME_ASSERT(array->HasFastSmiOrObjectElements()); |
int length = Smi::cast(array->length())->value(); |
FixedArray* elements = FixedArray::cast(array->elements()); |