Chromium Code Reviews| Index: src/memory.h |
| =================================================================== |
| --- src/memory.h (revision 3020) |
| +++ src/memory.h (working copy) |
| @@ -63,6 +63,10 @@ |
| static Object*& Object_at(Address addr) { |
| return *reinterpret_cast<Object**>(addr); |
| } |
| + |
| + static Handle<Object>& Object_Handle_at(Address addr) { |
| + return *reinterpret_cast<Handle<Object>*>(addr); |
| + } |
| }; |
| } } // namespace v8::internal |