| Index: src/prototype.h
|
| diff --git a/src/prototype.h b/src/prototype.h
|
| index aebdcbc067ef1ed7d65432597826029e63650532..586df56f67fbb3b7db3d91bc06ef7119d42c5f7f 100644
|
| --- a/src/prototype.h
|
| +++ b/src/prototype.h
|
| @@ -52,6 +52,11 @@ class PrototypeIterator {
|
| : did_jump_to_prototype_chain_(true),
|
| object_(receiver_map->prototype()),
|
| isolate_(receiver_map->GetIsolate()) {}
|
| + explicit PrototypeIterator(Handle<Map> receiver_map)
|
| + : did_jump_to_prototype_chain_(true),
|
| + object_(NULL),
|
| + handle_(handle(receiver_map->prototype(), receiver_map->GetIsolate())),
|
| + isolate_(receiver_map->GetIsolate()) {}
|
| ~PrototypeIterator() {}
|
|
|
| Object* GetCurrent() const {
|
|
|