Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/WebKit/Source/platform/heap/SafePoint.cpp

Issue 2703713003: Remove SafePointBarrier (Closed)
Patch Set: temp Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/heap/SafePoint.cpp
diff --git a/third_party/WebKit/Source/platform/heap/SafePoint.cpp b/third_party/WebKit/Source/platform/heap/SafePoint.cpp
deleted file mode 100644
index 555a660014c0466612a61d0dae0a94a5cc69a33a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/heap/SafePoint.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "platform/heap/SafePoint.h"
-
-#include "platform/heap/Heap.h"
-
-namespace blink {
-
-using PushAllRegistersCallback = void (*)(SafePointBarrier*,
- ThreadState*,
- intptr_t*);
-extern "C" void pushAllRegisters(SafePointBarrier*,
- ThreadState*,
- PushAllRegistersCallback);
-
-SafePointBarrier::SafePointBarrier() {}
-
-SafePointBarrier::~SafePointBarrier() {}
-
-void SafePointBarrier::enterSafePoint(ThreadState* state) {
- ASSERT(!state->sweepForbidden());
- pushAllRegisters(this, state, enterSafePointAfterPushRegisters);
-}
-
-void SafePointBarrier::leaveSafePoint() {}
-
-void SafePointBarrier::doEnterSafePoint(ThreadState* state,
- intptr_t* stackEnd) {
- state->recordStackEnd(stackEnd);
- state->copyStackUntilSafePointScope();
-}
-
-} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/heap/SafePoint.h ('k') | third_party/WebKit/Source/platform/heap/ThreadState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698