Index: test/unittests/compiler/js-typed-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-typed-lowering-unittest.cc b/test/unittests/compiler/js-typed-lowering-unittest.cc |
index 3ef5bdc1757d0015a7e3c84fd0df0c3f45c7ea50..194591ab27ec1059d8f76b079ccddb46d3fee290 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -81,7 +81,7 @@ TEST_F(JSTypedLoweringTest, JSLoadPropertyFromExternalTypedArray) { |
FeedbackVectorSlot::Invalid()); |
TRACED_FOREACH(ExternalArrayType, type, kExternalArrayTypes) { |
Handle<JSTypedArray> array = |
- factory()->NewJSTypedArray(type, buffer, kLength); |
+ factory()->NewJSTypedArray(type, buffer, 0, kLength); |
Node* key = Parameter(Type::Integral32()); |
Node* base = HeapConstant(array); |
@@ -120,7 +120,7 @@ TEST_F(JSTypedLoweringTest, JSStorePropertyToExternalTypedArray) { |
TRACED_FOREACH(ExternalArrayType, type, kExternalArrayTypes) { |
TRACED_FOREACH(StrictMode, strict_mode, kStrictModes) { |
Handle<JSTypedArray> array = |
- factory()->NewJSTypedArray(type, buffer, kLength); |
+ factory()->NewJSTypedArray(type, buffer, 0, kLength); |
Node* key = Parameter(Type::Integral32()); |
Node* base = HeapConstant(array); |