| Index: src/property.h
|
| diff --git a/src/property.h b/src/property.h
|
| index f853fc8ba035519cbcbfe1288a0027ee3cc91e8e..5bb2c4d87a7e9d64f83a0e2034158dc34a70b783 100644
|
| --- a/src/property.h
|
| +++ b/src/property.h
|
| @@ -392,6 +392,11 @@ class LookupResult BASE_EMBEDDED {
|
| return IsTransition() && GetTransitionDetails(map).type() == FIELD;
|
| }
|
|
|
| + bool IsTransitionToConstantFunction(Map* map) {
|
| + return IsTransition() &&
|
| + GetTransitionDetails(map).type() == CONSTANT_FUNCTION;
|
| + }
|
| +
|
| Map* GetTransitionMap() {
|
| ASSERT(IsTransition());
|
| return Map::cast(GetValue());
|
|
|