Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 6132) |
| +++ runtime/vm/object.h (working copy) |
| @@ -48,6 +48,9 @@ |
| static object& Handle() { \ |
| return Handle(Isolate::Current(), object::null()); \ |
| } \ |
| + static object& Handle(Isolate* islt) { \ |
|
siva
2012/04/03 23:56:59
isolate instead of islt?
turnidge
2012/04/04 00:00:51
Done. Also updated nearby instances of the same t
|
| + return Handle(islt, object::null()); \ |
| + } \ |
| static object& Handle(Raw##object* raw_ptr) { \ |
| return Handle(Isolate::Current(), raw_ptr); \ |
| } \ |
| @@ -233,6 +236,10 @@ |
| return Handle(Isolate::Current(), null_); |
| } |
| + static Object& Handle(Isolate* isolate) { |
| + return Handle(isolate, null_); |
| + } |
| + |
| static Object& Handle(RawObject* raw_ptr) { |
| return Handle(Isolate::Current(), raw_ptr); |
| } |