Commit 2498d5cb authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Fix debug build breakage from r3740

TBR=lrn@chromium.org
Review URL: http://codereview.chromium.org/555161

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3742 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0528427a
...@@ -8540,7 +8540,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { ...@@ -8540,7 +8540,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
__ mov(eax, FieldOperand(eax, ConsString::kFirstOffset)); __ mov(eax, FieldOperand(eax, ConsString::kFirstOffset));
__ mov(ebx, FieldOperand(eax, HeapObject::kMapOffset)); __ mov(ebx, FieldOperand(eax, HeapObject::kMapOffset));
__ movzx_b(ebx, FieldOperand(ebx, Map::kInstanceTypeOffset)); __ movzx_b(ebx, FieldOperand(ebx, Map::kInstanceTypeOffset));
ASSERT_EQ(0, kSequentialStringTag); ASSERT_EQ(0, kSeqStringTag);
__ test(ebx, Immediate(kStringRepresentationMask)); __ test(ebx, Immediate(kStringRepresentationMask));
__ j(not_zero, &runtime); __ j(not_zero, &runtime);
__ and_(ebx, kStringRepresentationEncodingMask); __ and_(ebx, kStringRepresentationEncodingMask);
......
...@@ -6704,7 +6704,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { ...@@ -6704,7 +6704,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
__ movq(rax, FieldOperand(rax, ConsString::kFirstOffset)); __ movq(rax, FieldOperand(rax, ConsString::kFirstOffset));
__ movq(rbx, FieldOperand(rax, HeapObject::kMapOffset)); __ movq(rbx, FieldOperand(rax, HeapObject::kMapOffset));
__ movzxbl(rbx, FieldOperand(rbx, Map::kInstanceTypeOffset)); __ movzxbl(rbx, FieldOperand(rbx, Map::kInstanceTypeOffset));
ASSERT_EQ(0, kSequentialStringTag); ASSERT_EQ(0, kSeqStringTag);
__ testb(rbx, Immediate(kStringRepresentationMask)); __ testb(rbx, Immediate(kStringRepresentationMask));
__ j(not_zero, &runtime); __ j(not_zero, &runtime);
__ andb(rbx, Immediate(kStringRepresentationEncodingMask)); __ andb(rbx, Immediate(kStringRepresentationEncodingMask));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment