Chromium Code Reviews| Index: src/handles-inl.h |
| diff --git a/src/handles-inl.h b/src/handles-inl.h |
| index b905c16a04f4e1f33342243aef9a77c01a268b2c..8c547e1b9c3eddbcc7f7955e4fefc355962eec61 100644 |
| --- a/src/handles-inl.h |
| +++ b/src/handles-inl.h |
| @@ -26,6 +26,12 @@ HandleScope::HandleScope(Isolate* isolate) { |
| } |
| +template <typename T> |
| +inline std::ostream& operator<<(std::ostream& os, Handle<T> handle) { |
| + return os << Brief(*handle); |
| +} |
| + |
| + |
| HandleScope::~HandleScope() { |
| #ifdef DEBUG |
| if (FLAG_check_handle_count) { |