Fix Windows compile problem.
BUG= R=yangguo@chromium.org Review URL: https://codereview.chromium.org/201133006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19986 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
3db4d32878
commit
e3554870e6
@ -18745,7 +18745,7 @@ void PrologueCallbackAlloc(v8::Isolate* isolate,
|
||||
CHECK(!obj.IsEmpty());
|
||||
|
||||
CcTest::heap()->CollectAllGarbage(
|
||||
i::Heap::Heap::kAbortIncrementalMarkingMask);
|
||||
i::Heap::kAbortIncrementalMarkingMask);
|
||||
}
|
||||
|
||||
|
||||
@ -18765,7 +18765,7 @@ void EpilogueCallbackAlloc(v8::Isolate* isolate,
|
||||
CHECK(!obj.IsEmpty());
|
||||
|
||||
CcTest::heap()->CollectAllGarbage(
|
||||
i::Heap::Heap::kAbortIncrementalMarkingMask);
|
||||
i::Heap::kAbortIncrementalMarkingMask);
|
||||
}
|
||||
|
||||
|
||||
@ -18841,7 +18841,7 @@ TEST(GCCallbacks) {
|
||||
isolate->AddGCPrologueCallback(PrologueCallbackAlloc);
|
||||
isolate->AddGCEpilogueCallback(EpilogueCallbackAlloc);
|
||||
CcTest::heap()->CollectAllGarbage(
|
||||
i::Heap::Heap::kAbortIncrementalMarkingMask);
|
||||
i::Heap::kAbortIncrementalMarkingMask);
|
||||
CHECK_EQ(1, prologue_call_count_alloc);
|
||||
CHECK_EQ(1, epilogue_call_count_alloc);
|
||||
isolate->RemoveGCPrologueCallback(PrologueCallbackAlloc);
|
||||
|
Loading…
Reference in New Issue
Block a user