Index: src/s390/code-stubs-s390.cc |
diff --git a/src/s390/code-stubs-s390.cc b/src/s390/code-stubs-s390.cc |
index 25f7ecd76f5051a49b004d1f092bd07d14ef6e46..ce8038418d46b660fd92f1d75c1c6e35c5dc709c 100644 |
--- a/src/s390/code-stubs-s390.cc |
+++ b/src/s390/code-stubs-s390.cc |
@@ -1588,9 +1588,9 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
__ LoadP(r2, MemOperand(sp, kLastMatchInfoOffset)); |
__ JumpIfSmi(r2, &runtime); |
- __ CompareObjectType(r2, r4, r4, JS_ARRAY_TYPE); |
+ __ CompareObjectType(r2, r4, r4, JS_OBJECT_TYPE); |
__ bne(&runtime); |
- // Check that the JSArray is in fast case. |
+ // Check that the object has fast elements. |
__ LoadP(last_match_info_elements, |
FieldMemOperand(r2, JSArray::kElementsOffset)); |
__ LoadP(r2, |