| 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 7083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7094 __ LoadRoot(at, Heap::kUndefinedValueRootIndex); | 7094 __ LoadRoot(at, Heap::kUndefinedValueRootIndex); |
| 7095 __ Branch(&unordered, eq, a1, Operand(at)); | 7095 __ Branch(&unordered, eq, a1, Operand(at)); |
| 7096 } | 7096 } |
| 7097 | 7097 |
| 7098 __ bind(&miss); | 7098 __ bind(&miss); |
| 7099 GenerateMiss(masm); | 7099 GenerateMiss(masm); |
| 7100 } | 7100 } |
| 7101 | 7101 |
| 7102 | 7102 |
| 7103 void ICCompareStub::GenerateInternalizedStrings(MacroAssembler* masm) { | 7103 void ICCompareStub::GenerateInternalizedStrings(MacroAssembler* masm) { |
| 7104 ASSERT(state_ == CompareIC::SYMBOL); | 7104 ASSERT(state_ == CompareIC::INTERNALIZED_STRING); |
| 7105 Label miss; | 7105 Label miss; |
| 7106 | 7106 |
| 7107 // Registers containing left and right operands respectively. | 7107 // Registers containing left and right operands respectively. |
| 7108 Register left = a1; | 7108 Register left = a1; |
| 7109 Register right = a0; | 7109 Register right = a0; |
| 7110 Register tmp1 = a2; | 7110 Register tmp1 = a2; |
| 7111 Register tmp2 = a3; | 7111 Register tmp2 = a3; |
| 7112 | 7112 |
| 7113 // Check that both operands are heap objects. | 7113 // Check that both operands are heap objects. |
| 7114 __ JumpIfEitherSmi(left, right, &miss); | 7114 __ JumpIfEitherSmi(left, right, &miss); |
| (...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8022 __ Pop(ra, t1, a1); | 8022 __ Pop(ra, t1, a1); |
| 8023 __ Ret(); | 8023 __ Ret(); |
| 8024 } | 8024 } |
| 8025 | 8025 |
| 8026 | 8026 |
| 8027 #undef __ | 8027 #undef __ |
| 8028 | 8028 |
| 8029 } } // namespace v8::internal | 8029 } } // namespace v8::internal |
| 8030 | 8030 |
| 8031 #endif // V8_TARGET_ARCH_MIPS | 8031 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |