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

Side by Side Diff: src/x64/codegen-x64.cc

Issue 555161: Fix debug build breakage from r3740 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 6686 matching lines...) Expand 10 before | Expand all | Expand 10 after
6697 __ movl(rdx, rbx); 6697 __ movl(rdx, rbx);
6698 __ andb(rdx, Immediate(kStringRepresentationMask)); 6698 __ andb(rdx, Immediate(kStringRepresentationMask));
6699 __ cmpb(rdx, Immediate(kConsStringTag)); 6699 __ cmpb(rdx, Immediate(kConsStringTag));
6700 __ j(not_equal, &runtime); 6700 __ j(not_equal, &runtime);
6701 __ movq(rdx, FieldOperand(rax, ConsString::kSecondOffset)); 6701 __ movq(rdx, FieldOperand(rax, ConsString::kSecondOffset));
6702 __ Cmp(rdx, Factory::empty_string()); 6702 __ Cmp(rdx, Factory::empty_string());
6703 __ j(not_equal, &runtime); 6703 __ j(not_equal, &runtime);
6704 __ movq(rax, FieldOperand(rax, ConsString::kFirstOffset)); 6704 __ movq(rax, FieldOperand(rax, ConsString::kFirstOffset));
6705 __ movq(rbx, FieldOperand(rax, HeapObject::kMapOffset)); 6705 __ movq(rbx, FieldOperand(rax, HeapObject::kMapOffset));
6706 __ movzxbl(rbx, FieldOperand(rbx, Map::kInstanceTypeOffset)); 6706 __ movzxbl(rbx, FieldOperand(rbx, Map::kInstanceTypeOffset));
6707 ASSERT_EQ(0, kSequentialStringTag); 6707 ASSERT_EQ(0, kSeqStringTag);
6708 __ testb(rbx, Immediate(kStringRepresentationMask)); 6708 __ testb(rbx, Immediate(kStringRepresentationMask));
6709 __ j(not_zero, &runtime); 6709 __ j(not_zero, &runtime);
6710 __ andb(rbx, Immediate(kStringRepresentationEncodingMask)); 6710 __ andb(rbx, Immediate(kStringRepresentationEncodingMask));
6711 6711
6712 __ bind(&seq_string); 6712 __ bind(&seq_string);
6713 // rax: subject string (sequential either ascii to two byte) 6713 // rax: subject string (sequential either ascii to two byte)
6714 // rbx: suject string type & kStringRepresentationEncodingMask 6714 // rbx: suject string type & kStringRepresentationEncodingMask
6715 // rcx: RegExp data (FixedArray) 6715 // rcx: RegExp data (FixedArray)
6716 // Check that the irregexp code has been generated for an ascii string. If 6716 // Check that the irregexp code has been generated for an ascii string. If
6717 // it has, the field contains a code object otherwise it contains the hole. 6717 // it has, the field contains a code object otherwise it contains the hole.
(...skipping 2489 matching lines...) Expand 10 before | Expand all | Expand 10 after
9207 // Call the function from C++. 9207 // Call the function from C++.
9208 return FUNCTION_CAST<ModuloFunction>(buffer); 9208 return FUNCTION_CAST<ModuloFunction>(buffer);
9209 } 9209 }
9210 9210
9211 #endif 9211 #endif
9212 9212
9213 9213
9214 #undef __ 9214 #undef __
9215 9215
9216 } } // namespace v8::internal 9216 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698