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 3954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3965 // The stub returns 0 for true. | 3965 // The stub returns 0 for true. |
3966 Split(zero, if_true, if_false, fall_through); | 3966 Split(zero, if_true, if_false, fall_through); |
3967 break; | 3967 break; |
3968 } | 3968 } |
3969 | 3969 |
3970 default: { | 3970 default: { |
3971 VisitForAccumulatorValue(expr->right()); | 3971 VisitForAccumulatorValue(expr->right()); |
3972 Condition cc = no_condition; | 3972 Condition cc = no_condition; |
3973 switch (op) { | 3973 switch (op) { |
3974 case Token::EQ_STRICT: | 3974 case Token::EQ_STRICT: |
3975 // Fall through. | |
3976 case Token::EQ: | 3975 case Token::EQ: |
3977 cc = equal; | 3976 cc = equal; |
3978 __ pop(rdx); | 3977 __ pop(rdx); |
3979 break; | 3978 break; |
3980 case Token::LT: | 3979 case Token::LT: |
3981 cc = less; | 3980 cc = less; |
3982 __ pop(rdx); | 3981 __ pop(rdx); |
3983 break; | 3982 break; |
3984 case Token::GT: | 3983 case Token::GT: |
3985 // Reverse left and right sizes to obtain ECMA-262 conversion order. | 3984 // Reverse left and right sizes to obtain ECMA-262 conversion order. |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4173 *context_length = 0; | 4172 *context_length = 0; |
4174 return previous_; | 4173 return previous_; |
4175 } | 4174 } |
4176 | 4175 |
4177 | 4176 |
4178 #undef __ | 4177 #undef __ |
4179 | 4178 |
4180 } } // namespace v8::internal | 4179 } } // namespace v8::internal |
4181 | 4180 |
4182 #endif // V8_TARGET_ARCH_X64 | 4181 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |