| OLD | NEW |
| 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 Loading... |
| 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(op, mode); | 747 EmitBinaryOp(expr, 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 Loading... |
| 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 |
| OLD | NEW |