| Index: runtime/vm/handles.h
|
| diff --git a/runtime/vm/handles.h b/runtime/vm/handles.h
|
| index b96a3bf88c2dfa5ec483a085ab121efe533c57a4..374181a1363760034312f83e005648e6a0146d6d 100644
|
| --- a/runtime/vm/handles.h
|
| +++ b/runtime/vm/handles.h
|
| @@ -55,7 +55,6 @@ namespace dart {
|
| // ....
|
| // }
|
|
|
| -
|
| // Forward declarations.
|
| class ObjectPointerVisitor;
|
| class Thread;
|
| @@ -77,7 +76,6 @@ class HandleVisitor {
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(HandleVisitor);
|
| };
|
|
|
| -
|
| template <int kHandleSizeInWords, int kHandlesPerChunk, int kOffsetOfRawPtr>
|
| class Handles {
|
| public:
|
| @@ -239,7 +237,6 @@ class Handles {
|
| DISALLOW_COPY_AND_ASSIGN(Handles);
|
| };
|
|
|
| -
|
| static const int kVMHandleSizeInWords = 2;
|
| static const int kVMHandlesPerChunk = 64;
|
| static const int kOffsetOfRawPtr = kWordSize;
|
| @@ -281,7 +278,6 @@ class VMHandles : public Handles<kVMHandleSizeInWords,
|
| friend class ApiNativeScope;
|
| };
|
|
|
| -
|
| // The class HandleScope is used to start a new handles scope in the code.
|
| // It is used as follows:
|
| // {
|
| @@ -311,7 +307,6 @@ class HandleScope : public StackResource {
|
| #define HANDLESCOPE(thread) \
|
| dart::HandleScope vm_internal_handles_scope_(thread);
|
|
|
| -
|
| // The class NoHandleScope is used in critical regions of the virtual machine
|
| // code where raw dart object pointers are directly manipulated.
|
| // This class asserts that we do not add code that will allocate new handles
|
|
|