Index: runtime/vm/isolate.cc |
=================================================================== |
--- runtime/vm/isolate.cc (revision 26045) |
+++ runtime/vm/isolate.cc (working copy) |
@@ -20,6 +20,7 @@ |
#include "vm/object_store.h" |
#include "vm/parser.h" |
#include "vm/port.h" |
+#include "vm/reusable_handles.h" |
#include "vm/service.h" |
#include "vm/simulator.h" |
#include "vm/stack_frame.h" |
@@ -1105,16 +1106,6 @@ |
} |
-void ReusableHandleScope::ResetHandles() { |
-#define CLEAR_REUSABLE_HANDLE(object) \ |
- if (!object##Handle().IsNull()) { \ |
- object##Handle().raw_ = Object::null(); \ |
- } |
- |
- REUSABLE_HANDLE_LIST(CLEAR_REUSABLE_HANDLE); |
-} |
- |
- |
static char* GetRootScriptUri(Isolate* isolate) { |
const Library& library = |
Library::Handle(isolate->object_store()->root_library()); |