Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 21c246ca42d256ba3c9fd0252aad77907780f0d3..f2b55c294cc40edd4786aecea9eb53e4ab23e09c 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -666,7 +666,7 @@ BUILTIN(ArraySlice) { |
bool packed = true; |
ElementsAccessor* accessor = ElementsAccessor::ForKind(kind); |
for (int i = k; i < final; i++) { |
- if (!accessor->HasElement(object, i, elms)) { |
+ if (!accessor->HasElement(*object, i, *elms)) { |
packed = false; |
break; |
} |