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

Unified Diff: runtime/vm/allocation.h

Issue 1410643008: Get rid of deprecated methods accessing mutator_thread_ instead of current thread (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | runtime/vm/allocation_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/allocation.h
diff --git a/runtime/vm/allocation.h b/runtime/vm/allocation.h
index 468c1adae90d43325f221f796015ed7c613a6b46..af9a74a6813dfa168d50eef8fba192e6e745f7c6 100644
--- a/runtime/vm/allocation.h
+++ b/runtime/vm/allocation.h
@@ -37,13 +37,6 @@ class ValueObject {
// to a stack frame above the frame where these objects were allocated.
class StackResource {
public:
- // DEPRECATED: Use Thread-based interface. During migration, this defaults
- // to using the mutator thread (which must also be the current thread).
- explicit StackResource(Isolate* isolate) : thread_(NULL), previous_(NULL) {
- Init((isolate == NULL) ?
- NULL : reinterpret_cast<BaseIsolate*>(isolate)->mutator_thread_);
- }
-
explicit StackResource(Thread* thread) : thread_(NULL), previous_(NULL) {
Init(thread);
}
« no previous file with comments | « no previous file | runtime/vm/allocation_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698