Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 1fb8a2152ee587eb5176e6c46707fbf7f679efd5..f0f11bd444cf076d63cd7bac67397b0fb648f6e8 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -2843,6 +2843,10 @@ Node* CodeStubAssembler::ThrowIfNotInstanceType(Node* context, Node* value, |
return var_value_map.value(); |
} |
+Node* CodeStubAssembler::InstanceTypeEqual(Node* instance_type, int type) { |
+ return Word32Equal(instance_type, Int32Constant(type)); |
+} |
+ |
Node* CodeStubAssembler::IsSpecialReceiverMap(Node* map) { |
Node* is_special = IsSpecialReceiverInstanceType(LoadMapInstanceType(map)); |
uint32_t mask = |