Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 14a04dc5dddb1180d7e99306eb9ed32455d6756d..1aa7dc59c2e66689142810bbb842b6a6f0c50c32 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -167,6 +167,8 @@ static const int kElementsKindCount = |
void PrintElementsKind(FILE* out, ElementsKind kind); |
+inline bool IsMoreGeneralElementsKindTransition(ElementsKind from_kind, |
+ ElementsKind to_kind); |
// Setter that skips the write barrier if mode is SKIP_WRITE_BARRIER. |
enum WriteBarrierMode { SKIP_WRITE_BARRIER, UPDATE_WRITE_BARRIER }; |