Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index b366de13a19af1aabb58aba582e81f8c65946709..5ec80a78b933b4b2be3fcadb8c940271cefe419f 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -3105,6 +3105,10 @@ Node* CodeStubAssembler::IsFixedTypedArray(Node* object) { |
Int32Constant(LAST_FIXED_TYPED_ARRAY_TYPE))); |
} |
+Node* CodeStubAssembler::IsJSRegExp(Node* object) { |
+ return HasInstanceType(object, JS_REGEXP_TYPE); |
+} |
+ |
Node* CodeStubAssembler::StringCharCodeAt(Node* string, Node* index, |
ParameterMode parameter_mode) { |
CSA_ASSERT(this, IsString(string)); |