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

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

Issue 346012: Fix x64 build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 1 month 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 case Token::SAR: { 671 case Token::SAR: {
672 ASSERT(expr->left()->location().is_value()); 672 ASSERT(expr->left()->location().is_value());
673 ASSERT(expr->right()->location().is_value()); 673 ASSERT(expr->right()->location().is_value());
674 674
675 Visit(expr->left()); 675 Visit(expr->left());
676 Visit(expr->right()); 676 Visit(expr->right());
677 GenericBinaryOpStub stub(expr->op(), 677 GenericBinaryOpStub stub(expr->op(),
678 NO_OVERWRITE, 678 NO_OVERWRITE,
679 NO_GENERIC_BINARY_FLAGS); 679 NO_GENERIC_BINARY_FLAGS);
680 __ CallStub(&stub); 680 __ CallStub(&stub);
681 Move(expr->location(), kReturnRegister); 681 Move(expr->location(), rax);
682 682
683 break; 683 break;
684 } 684 }
685 default: 685 default:
686 UNREACHABLE(); 686 UNREACHABLE();
687 } 687 }
688 } 688 }
689 689
690 690
691 void FastCodeGenerator::EmitLogicalOperation(BinaryOperation* expr) { 691 void FastCodeGenerator::EmitLogicalOperation(BinaryOperation* expr) {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 } else { 775 } else {
776 Visit(right); 776 Visit(right);
777 Move(destination, right->location()); 777 Move(destination, right->location());
778 } 778 }
779 779
780 __ bind(&done); 780 __ bind(&done);
781 } 781 }
782 782
783 783
784 } } // namespace v8::internal 784 } } // namespace v8::internal
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