| Index: runtime/vm/heap.h
|
| diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
|
| index 6a9889c93ba361c439f2b00d4bcc92bd318f5f75..1a5f2b6b800fb07d0ebb8a0662e07a529755f54f 100644
|
| --- a/runtime/vm/heap.h
|
| +++ b/runtime/vm/heap.h
|
| @@ -333,26 +333,6 @@ class Heap {
|
| };
|
|
|
|
|
| -// Within a NoSafepointScope, the thread must not reach any safepoint. Used
|
| -// around code that manipulates raw object pointers directly without handles.
|
| -#if defined(DEBUG)
|
| -class NoSafepointScope : public StackResource {
|
| - public:
|
| - NoSafepointScope();
|
| - ~NoSafepointScope();
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(NoSafepointScope);
|
| -};
|
| -#else // defined(DEBUG)
|
| -class NoSafepointScope : public ValueObject {
|
| - public:
|
| - NoSafepointScope() {}
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(NoSafepointScope);
|
| -};
|
| -#endif // defined(DEBUG)
|
| -
|
| -
|
| class HeapIterationScope : public StackResource {
|
| public:
|
| HeapIterationScope();
|
|
|