| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index 9a83a82833b2567596caadd8923c22aba2a25f25..263d4eba6aa71f9bb42495b81321b149f25b698c 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -723,7 +723,8 @@ TEST(BytecodeArray) {
|
| SimulateFullSpace(heap->old_space());
|
| Handle<FixedArray> constant_pool = factory->NewFixedArray(5, TENURED);
|
| for (int i = 0; i < 5; i++) {
|
| - constant_pool->set(i, *factory->NewHeapNumber(i));
|
| + Handle<Object> number = factory->NewHeapNumber(i);
|
| + constant_pool->set(i, *number);
|
| }
|
|
|
| // Allocate and initialize BytecodeArray
|
|
|