| Index: test/cctest/compiler/test-simplified-lowering.cc
|
| diff --git a/test/cctest/compiler/test-simplified-lowering.cc b/test/cctest/compiler/test-simplified-lowering.cc
|
| index 2a642c158953d03df9849d0147d725b61f9ae78d..dab1c810e9091f38880400c4824ae8f65142d758 100644
|
| --- a/test/cctest/compiler/test-simplified-lowering.cc
|
| +++ b/test/cctest/compiler/test-simplified-lowering.cc
|
| @@ -266,7 +266,7 @@ TEST(RunLoadStoreArrayBuffer) {
|
| t.GenerateCode();
|
|
|
| Handle<JSArrayBuffer> array = t.factory()->NewJSArrayBuffer();
|
| - Runtime::SetupArrayBufferAllocatingData(t.isolate(), array, array_length);
|
| + JSArrayBuffer::SetupAllocatingData(array, t.isolate(), array_length);
|
| uint8_t* data = reinterpret_cast<uint8_t*>(array->backing_store());
|
| for (int i = 0; i < array_length; i++) {
|
| data[i] = i;
|
|
|