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

Unified Diff: src/ppc/code-stubs-ppc.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/mips64/code-stubs-mips64.cc ('k') | src/regexp/jsregexp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/code-stubs-ppc.cc
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
index 8e7bb88722912027f21d6d6fa7a5a7fefd21ea41..6dd897b0314b6fae0d8a458c4b2b8f4b4afe1a13 100644
--- a/src/ppc/code-stubs-ppc.cc
+++ b/src/ppc/code-stubs-ppc.cc
@@ -1578,9 +1578,9 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
__ LoadP(r3, MemOperand(sp, kLastMatchInfoOffset));
__ JumpIfSmi(r3, &runtime);
- __ CompareObjectType(r3, r5, r5, JS_ARRAY_TYPE);
+ __ CompareObjectType(r3, r5, r5, 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(r3, JSArray::kElementsOffset));
__ LoadP(r3,
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/regexp/jsregexp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698