Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index d023d785dd75e647109332c7e69e9f9146ab6b1e..3baee23a33b48c0b7679296811d98d5eccdb79ba 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -2871,6 +2871,11 @@ Node* CodeStubAssembler::IsCallableMap(Node* map) { |
Int32Constant(0)); |
} |
+Node* CodeStubAssembler::IsDeprecatedMap(Node* map) { |
+ CSA_ASSERT(this, IsMap(map)); |
+ return IsSetWord32<Map::Deprecated>(LoadMapBitField3(map)); |
+} |
+ |
Node* CodeStubAssembler::IsCallable(Node* object) { |
return IsCallableMap(LoadMap(object)); |
} |