Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: src/s390/code-stubs-s390.cc

Issue 2244673002: [regexp][liveedit] Fix inconsistent JSArrays (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698