| 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 4707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4718 StubCompiler::GenerateStoreMiss(masm, kind()); | 4718 StubCompiler::GenerateStoreMiss(masm, kind()); |
| 4719 } | 4719 } |
| 4720 | 4720 |
| 4721 | 4721 |
| 4722 Register InstanceofStub::left() { return a0; } | 4722 Register InstanceofStub::left() { return a0; } |
| 4723 | 4723 |
| 4724 | 4724 |
| 4725 Register InstanceofStub::right() { return a1; } | 4725 Register InstanceofStub::right() { return a1; } |
| 4726 | 4726 |
| 4727 | 4727 |
| 4728 void LoadFieldStub::Generate(MacroAssembler* masm) { |
| 4729 StubCompiler::DoGenerateFastPropertyLoad(masm, v0, reg_, inobject_, index_); |
| 4730 __ Ret(); |
| 4731 } |
| 4732 |
| 4733 |
| 4728 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { | 4734 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { |
| 4729 // The displacement is the offset of the last parameter (if any) | 4735 // The displacement is the offset of the last parameter (if any) |
| 4730 // relative to the frame pointer. | 4736 // relative to the frame pointer. |
| 4731 const int kDisplacement = | 4737 const int kDisplacement = |
| 4732 StandardFrameConstants::kCallerSPOffset - kPointerSize; | 4738 StandardFrameConstants::kCallerSPOffset - kPointerSize; |
| 4733 | 4739 |
| 4734 // Check that the key is a smiGenerateReadElement. | 4740 // Check that the key is a smiGenerateReadElement. |
| 4735 Label slow; | 4741 Label slow; |
| 4736 __ JumpIfNotSmi(a1, &slow); | 4742 __ JumpIfNotSmi(a1, &slow); |
| 4737 | 4743 |
| (...skipping 3405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8143 __ Pop(ra, t1, a1); | 8149 __ Pop(ra, t1, a1); |
| 8144 __ Ret(); | 8150 __ Ret(); |
| 8145 } | 8151 } |
| 8146 | 8152 |
| 8147 | 8153 |
| 8148 #undef __ | 8154 #undef __ |
| 8149 | 8155 |
| 8150 } } // namespace v8::internal | 8156 } } // namespace v8::internal |
| 8151 | 8157 |
| 8152 #endif // V8_TARGET_ARCH_MIPS | 8158 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |