| Index: test/cctest/cctest.h
|
| diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h
|
| index 0136db60fabfc7764df0c2411447c4f5d64cb7a6..6a25a89842ca88f7041bb7021036d2a5bb5357db 100644
|
| --- a/test/cctest/cctest.h
|
| +++ b/test/cctest/cctest.h
|
| @@ -89,21 +89,6 @@ typedef v8::internal::EnumSet<CcTestExtensionIds> CcTestExtensionFlags;
|
| #undef DEFINE_EXTENSION_FLAG
|
|
|
|
|
| -// Use this to expose protected methods in i::Heap.
|
| -class TestHeap : public i::Heap {
|
| - public:
|
| - using i::Heap::AllocateByteArray;
|
| - using i::Heap::AllocateFixedArray;
|
| - using i::Heap::AllocateHeapNumber;
|
| - using i::Heap::AllocateFloat32x4;
|
| - using i::Heap::AllocateJSObject;
|
| - using i::Heap::AllocateJSObjectFromMap;
|
| - using i::Heap::AllocateMap;
|
| - using i::Heap::CopyCode;
|
| - using i::Heap::kInitialNumberStringCacheSize;
|
| -};
|
| -
|
| -
|
| class CcTest {
|
| public:
|
| typedef void (TestFunction)();
|
| @@ -137,10 +122,6 @@ class CcTest {
|
| return i_isolate()->heap();
|
| }
|
|
|
| - static TestHeap* test_heap() {
|
| - return reinterpret_cast<TestHeap*>(i_isolate()->heap());
|
| - }
|
| -
|
| static v8::base::RandomNumberGenerator* random_number_generator() {
|
| return InitIsolateOnce()->random_number_generator();
|
| }
|
|
|