Index: vm/handles.h |
=================================================================== |
--- vm/handles.h (revision 6440) |
+++ vm/handles.h (working copy) |
@@ -304,20 +304,13 @@ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(NoHandleScope); |
}; |
-#else // defined(DEBUG) |
-class NoHandleScope : public ValueObject { |
- public: |
- explicit NoHandleScope(BaseIsolate* isolate) { } |
- ~NoHandleScope() { } |
- private: |
- DISALLOW_IMPLICIT_CONSTRUCTORS(NoHandleScope); |
-}; |
-#endif // defined(DEBUG) |
- |
// Macro to start a no handles scope in the code. |
#define NOHANDLESCOPE(isolate) \ |
dart::NoHandleScope no_vm_internal_handles_scope_(isolate); |
+#else // defined(DEBUG) |
+#define NOHANDLESCOPE(isolate) |
+#endif // defined(DEBUG) |
siva
2012/04/12 02:18:13
Does this make a big difference in the numbers?
S
turnidge
2012/04/16 20:07:24
I had seen a difference before but was unable to r
|
} // namespace dart |