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/code-stubs-x64.cc

Issue 6980018: fix x64 build error (introduced by rebasing) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 7 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 | « no previous file | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 4562 matching lines...) Expand 10 before | Expand all | Expand 10 after
4573 4573
4574 // Compare loop. 4574 // Compare loop.
4575 NearLabel result_not_equal; 4575 NearLabel result_not_equal;
4576 GenerateAsciiCharsCompareLoop(masm, left, right, min_length, scratch2, 4576 GenerateAsciiCharsCompareLoop(masm, left, right, min_length, scratch2,
4577 &result_not_equal); 4577 &result_not_equal);
4578 4578
4579 // Completed loop without finding different characters. 4579 // Completed loop without finding different characters.
4580 // Compare lengths (precomputed). 4580 // Compare lengths (precomputed).
4581 __ bind(&compare_lengths); 4581 __ bind(&compare_lengths);
4582 __ SmiTest(length_difference); 4582 __ SmiTest(length_difference);
4583 __ j(not_zero, &result_not_equal, Label::kNear); 4583 __ j(not_zero, &result_not_equal);
4584 4584
4585 // Result is EQUAL. 4585 // Result is EQUAL.
4586 __ Move(rax, Smi::FromInt(EQUAL)); 4586 __ Move(rax, Smi::FromInt(EQUAL));
4587 __ ret(0); 4587 __ ret(0);
4588 4588
4589 Label result_greater; 4589 Label result_greater;
4590 __ bind(&result_not_equal); 4590 __ bind(&result_not_equal);
4591 // Unequal comparison of left to right, either character or length. 4591 // Unequal comparison of left to right, either character or length.
4592 __ j(greater, &result_greater, Label::kNear); 4592 __ j(greater, &result_greater, Label::kNear);
4593 4593
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
5104 __ Drop(1); 5104 __ Drop(1);
5105 __ ret(2 * kPointerSize); 5105 __ ret(2 * kPointerSize);
5106 } 5106 }
5107 5107
5108 5108
5109 #undef __ 5109 #undef __
5110 5110
5111 } } // namespace v8::internal 5111 } } // namespace v8::internal
5112 5112
5113 #endif // V8_TARGET_ARCH_X64 5113 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698