Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 3b3d9dcb49fbfbe1288bcd4c2d4e160d48692aee..8e6f3817c5fb3a1d5a4961404a2ec6d593f82c61 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -1386,7 +1386,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
// (1) Sequential string? If yes, go to (4). |
STATIC_ASSERT((kIsNotStringMask | kStringRepresentationMask | |
- kShortExternalStringMask) == 0x93); |
+ kShortExternalStringMask) == 0xa7); |
__ andi(r4, r3, Operand(kIsNotStringMask | kStringRepresentationMask | |
kShortExternalStringMask)); |
STATIC_ASSERT((kStringTag | kSeqStringTag) == 0); |
@@ -1424,9 +1424,9 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
__ ble(&runtime); |
__ SmiUntag(r4); |
- STATIC_ASSERT(4 == kOneByteStringTag); |
+ STATIC_ASSERT(8 == kOneByteStringTag); |
STATIC_ASSERT(kTwoByteStringTag == 0); |
- STATIC_ASSERT(kStringEncodingMask == 4); |
+ STATIC_ASSERT(kStringEncodingMask == 8); |
__ ExtractBitMask(r6, r3, kStringEncodingMask, SetRC); |
__ beq(&encoding_type_UC16, cr0); |
__ LoadP(code, |