| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 41fe7b155136aa3759f679181bcdf982b1ea11ff..1512c3992afaef45eb2c6499bee23d329e42cd09 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -4771,6 +4771,14 @@ class Code::FindAndReplacePattern {
|
| };
|
|
|
|
|
| +bool Code::IsWeakObjectInIC(Object* object) {
|
| + ASSERT(is_weak_stub());
|
| + return object->IsMap() && Map::cast(object)->CanTransition() &&
|
| + FLAG_collect_maps &&
|
| + FLAG_weak_embedded_maps_in_ic;
|
| +}
|
| +
|
| +
|
| Object* Map::prototype() {
|
| return READ_FIELD(this, kPrototypeOffset);
|
| }
|
|
|