| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index 799146e7a5168a0f8d43acd6a891b2902cf651a5..cf371d6b92d8b3dd79d95dce2f9e60c36762e05e 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -2963,8 +2963,6 @@ void ReleaseStackTraceDataTest(const char* source, const char* accessor) {
|
| // after the first time the accessor is fired. We use external string
|
| // to check whether the data is being released since the external string
|
| // resource's callback is fired when the external string is GC'ed.
|
| - FLAG_use_ic = false; // ICs retain objects.
|
| - FLAG_concurrent_recompilation = false;
|
| v8::HandleScope scope(CcTest::isolate());
|
| SourceResource* resource = new SourceResource(i::StrDup(source));
|
| {
|
| @@ -2987,6 +2985,8 @@ void ReleaseStackTraceDataTest(const char* source, const char* accessor) {
|
|
|
|
|
| TEST(ReleaseStackTraceData) {
|
| + FLAG_use_ic = false; // ICs retain objects.
|
| + FLAG_concurrent_recompilation = false;
|
| CcTest::InitializeVM();
|
| static const char* source1 = "var error = null; "
|
| /* Normal Error */ "try { "
|
|
|