| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index 8c6f3c69c49fae2e12cf57f500bfbfca3305b65c..2824d5b242465f2784656c386938750df435ac67 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -2896,7 +2896,6 @@ void ReleaseStackTraceDataTest(const char* source, const char* accessor) {
|
| // resource's callback is fired when the external string is GC'ed.
|
| FLAG_use_ic = false; // ICs retain objects.
|
| FLAG_concurrent_recompilation = false;
|
| - CcTest::InitializeVM();
|
| v8::HandleScope scope(CcTest::isolate());
|
| SourceResource* resource = new SourceResource(i::StrDup(source));
|
| {
|
| @@ -2919,6 +2918,7 @@ void ReleaseStackTraceDataTest(const char* source, const char* accessor) {
|
|
|
|
|
| TEST(ReleaseStackTraceData) {
|
| + CcTest::InitializeVM();
|
| static const char* source1 = "var error = null; "
|
| /* Normal Error */ "try { "
|
| " throw new Error(); "
|
|
|