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

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

Issue 6880036: Merge revision 7664 (revert of 7644 and 7632) to trunk. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 8 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/full-codegen.h ('k') | src/ia32/assembler-ia32.h » ('j') | 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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 case Token::SHR: 737 case Token::SHR:
738 case Token::SAR: { 738 case Token::SAR: {
739 // Load both operands. 739 // Load both operands.
740 VisitForStackValue(left); 740 VisitForStackValue(left);
741 VisitForAccumulatorValue(right); 741 VisitForAccumulatorValue(right);
742 742
743 SetSourcePosition(expr->position()); 743 SetSourcePosition(expr->position());
744 if (ShouldInlineSmiCase(op)) { 744 if (ShouldInlineSmiCase(op)) {
745 EmitInlineSmiBinaryOp(expr, op, mode, left, right); 745 EmitInlineSmiBinaryOp(expr, op, mode, left, right);
746 } else { 746 } else {
747 EmitBinaryOp(expr, op, mode); 747 EmitBinaryOp(op, mode);
748 } 748 }
749 break; 749 break;
750 } 750 }
751 751
752 default: 752 default:
753 UNREACHABLE(); 753 UNREACHABLE();
754 } 754 }
755 } 755 }
756 756
757 757
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
1365 __ Drop(stack_depth); 1365 __ Drop(stack_depth);
1366 __ PopTryHandler(); 1366 __ PopTryHandler();
1367 return 0; 1367 return 0;
1368 } 1368 }
1369 1369
1370 1370
1371 #undef __ 1371 #undef __
1372 1372
1373 1373
1374 } } // namespace v8::internal 1374 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/full-codegen.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698