Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 1c6c0429ba5c61cade91b52df92892b0e1dd074f..463a15f6c3b4d650a433f77d988e72539a60aaae 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -515,7 +515,7 @@ BUILTIN(ArrayPop) { |
ElementsAccessor* accessor = array->GetElementsAccessor(); |
int new_length = len - 1; |
Handle<Object> element; |
- if (accessor->HasElement(*array, *array, new_length, *elms_obj)) { |
+ if (accessor->HasElement(array, array, new_length, elms_obj)) { |
element = accessor->Get( |
array, array, new_length, elms_obj); |
} else { |
@@ -756,7 +756,7 @@ BUILTIN(ArraySlice) { |
bool packed = true; |
ElementsAccessor* accessor = ElementsAccessor::ForKind(kind); |
for (int i = k; i < final; i++) { |
- if (!accessor->HasElement(*object, *object, i, *elms)) { |
+ if (!accessor->HasElement(object, object, i, elms)) { |
packed = false; |
break; |
} |