Chromium Code Reviews| Index: test/cctest/test-heap.cc |
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
| index 999e2c66518b010561440292419606b8816b08d6..67792312e9b9073ef9e295e4e1d60c117e79abea 100644 |
| --- a/test/cctest/test-heap.cc |
| +++ b/test/cctest/test-heap.cc |
| @@ -1521,17 +1521,11 @@ TEST(InstanceOfStubWriteBarrier) { |
| while (!Marking::IsBlack(Marking::MarkBitFrom(f->code())) && |
| !marking->IsStopped()) { |
| - marking->Step(MB); |
| + marking->Step(MB, IncrementalMarking::NO_GC_VIA_STACK_GUARD); |
| } |
| CHECK(marking->IsMarking()); |
| - // Discard any pending GC requests otherwise we will get GC when we enter |
| - // code below. |
|
Michael Starzinger
2012/04/02 09:48:55
Can you preserve this comment above the call to St
|
| - if (ISOLATE->stack_guard()->IsGCRequest()) { |
| - ISOLATE->stack_guard()->Continue(GC_REQUEST); |
| - } |
| - |
| { |
| v8::HandleScope scope; |
| v8::Handle<v8::Object> global = v8::Context::GetCurrent()->Global(); |