| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 6451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6462 Load(left); | 6462 Load(left); |
| 6463 Load(right); | 6463 Load(right); |
| 6464 frame_->InvokeBuiltin(Builtins::IN, CALL_JS, 2); | 6464 frame_->InvokeBuiltin(Builtins::IN, CALL_JS, 2); |
| 6465 frame_->EmitPush(r0); | 6465 frame_->EmitPush(r0); |
| 6466 break; | 6466 break; |
| 6467 } | 6467 } |
| 6468 | 6468 |
| 6469 case Token::INSTANCEOF: { | 6469 case Token::INSTANCEOF: { |
| 6470 Load(left); | 6470 Load(left); |
| 6471 Load(right); | 6471 Load(right); |
| 6472 InstanceofStub stub; | 6472 InstanceofStub stub(InstanceofStub::kNoFlags); |
| 6473 frame_->CallStub(&stub, 2); | 6473 frame_->CallStub(&stub, 2); |
| 6474 // At this point if instanceof succeeded then r0 == 0. | 6474 // At this point if instanceof succeeded then r0 == 0. |
| 6475 __ tst(r0, Operand(r0)); | 6475 __ tst(r0, Operand(r0)); |
| 6476 cc_reg_ = eq; | 6476 cc_reg_ = eq; |
| 6477 break; | 6477 break; |
| 6478 } | 6478 } |
| 6479 | 6479 |
| 6480 default: | 6480 default: |
| 6481 UNREACHABLE(); | 6481 UNREACHABLE(); |
| 6482 } | 6482 } |
| (...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7370 BinaryOpIC::GetName(runtime_operands_type_)); | 7370 BinaryOpIC::GetName(runtime_operands_type_)); |
| 7371 return name_; | 7371 return name_; |
| 7372 } | 7372 } |
| 7373 | 7373 |
| 7374 | 7374 |
| 7375 #undef __ | 7375 #undef __ |
| 7376 | 7376 |
| 7377 } } // namespace v8::internal | 7377 } } // namespace v8::internal |
| 7378 | 7378 |
| 7379 #endif // V8_TARGET_ARCH_ARM | 7379 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |