Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 76a43d5ff9c0a18a03a4b3f8403157834da90d2f..dab3867dc87af143ed207ca31cb83ab2ac325c22 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -219,6 +219,11 @@ bool Object::IsSpecFunction() { |
} |
+bool Object::IsTemplateInfo() { |
+ return IsObjectTemplateInfo() || IsFunctionTemplateInfo(); |
+} |
+ |
+ |
bool Object::IsInternalizedString() { |
if (!this->IsHeapObject()) return false; |
uint32_t type = HeapObject::cast(this)->map()->instance_type(); |