Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index f783dc2e9a03dd6967fa7bdca4759df88cfb1066..4c75c48c52ec0d1ff90f5a86ebac6553c6e5ea94 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -330,6 +330,11 @@ class LookupResult BASE_EMBEDDED { |
return Map::cast(map->transitions()->GetValue(number_)); |
} |
+ int GetTransitionIndex() { |
+ ASSERT(IsTransition()); |
+ return number_; |
+ } |
+ |
int GetFieldIndex() { |
ASSERT(lookup_type_ == DESCRIPTOR_TYPE); |
ASSERT(IsField()); |