| 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 4044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4055 // The stub returns 0 for true. | 4055 // The stub returns 0 for true. |
| 4056 Split(zero, if_true, if_false, fall_through); | 4056 Split(zero, if_true, if_false, fall_through); |
| 4057 break; | 4057 break; |
| 4058 } | 4058 } |
| 4059 | 4059 |
| 4060 default: { | 4060 default: { |
| 4061 VisitForAccumulatorValue(expr->right()); | 4061 VisitForAccumulatorValue(expr->right()); |
| 4062 Condition cc = no_condition; | 4062 Condition cc = no_condition; |
| 4063 switch (op) { | 4063 switch (op) { |
| 4064 case Token::EQ_STRICT: | 4064 case Token::EQ_STRICT: |
| 4065 // Fall through. | |
| 4066 case Token::EQ: | 4065 case Token::EQ: |
| 4067 cc = equal; | 4066 cc = equal; |
| 4068 __ pop(rdx); | 4067 __ pop(rdx); |
| 4069 break; | 4068 break; |
| 4070 case Token::LT: | 4069 case Token::LT: |
| 4071 cc = less; | 4070 cc = less; |
| 4072 __ pop(rdx); | 4071 __ pop(rdx); |
| 4073 break; | 4072 break; |
| 4074 case Token::GT: | 4073 case Token::GT: |
| 4075 // Reverse left and right sizes to obtain ECMA-262 conversion order. | 4074 // Reverse left and right sizes to obtain ECMA-262 conversion order. |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4229 __ jmp(rdx); | 4228 __ jmp(rdx); |
| 4230 } | 4229 } |
| 4231 | 4230 |
| 4232 | 4231 |
| 4233 #undef __ | 4232 #undef __ |
| 4234 | 4233 |
| 4235 | 4234 |
| 4236 } } // namespace v8::internal | 4235 } } // namespace v8::internal |
| 4237 | 4236 |
| 4238 #endif // V8_TARGET_ARCH_X64 | 4237 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |