OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2496 } | 2496 } |
2497 | 2497 |
2498 | 2498 |
2499 Condition LCodeGen::TokenToCondition(Token::Value op, bool is_unsigned) { | 2499 Condition LCodeGen::TokenToCondition(Token::Value op, bool is_unsigned) { |
2500 Condition cond = no_condition; | 2500 Condition cond = no_condition; |
2501 switch (op) { | 2501 switch (op) { |
2502 case Token::EQ: | 2502 case Token::EQ: |
2503 case Token::EQ_STRICT: | 2503 case Token::EQ_STRICT: |
2504 cond = equal; | 2504 cond = equal; |
2505 break; | 2505 break; |
| 2506 case Token::NE: |
| 2507 case Token::NE_STRICT: |
| 2508 cond = not_equal; |
| 2509 break; |
2506 case Token::LT: | 2510 case Token::LT: |
2507 cond = is_unsigned ? below : less; | 2511 cond = is_unsigned ? below : less; |
2508 break; | 2512 break; |
2509 case Token::GT: | 2513 case Token::GT: |
2510 cond = is_unsigned ? above : greater; | 2514 cond = is_unsigned ? above : greater; |
2511 break; | 2515 break; |
2512 case Token::LTE: | 2516 case Token::LTE: |
2513 cond = is_unsigned ? below_equal : less_equal; | 2517 cond = is_unsigned ? below_equal : less_equal; |
2514 break; | 2518 break; |
2515 case Token::GTE: | 2519 case Token::GTE: |
(...skipping 3880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6396 FixedArray::kHeaderSize - kPointerSize)); | 6400 FixedArray::kHeaderSize - kPointerSize)); |
6397 __ bind(&done); | 6401 __ bind(&done); |
6398 } | 6402 } |
6399 | 6403 |
6400 | 6404 |
6401 #undef __ | 6405 #undef __ |
6402 | 6406 |
6403 } } // namespace v8::internal | 6407 } } // namespace v8::internal |
6404 | 6408 |
6405 #endif // V8_TARGET_ARCH_IA32 | 6409 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |