| 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 4680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4691 StubCompiler::GenerateStoreMiss(masm, kind()); | 4691 StubCompiler::GenerateStoreMiss(masm, kind()); |
| 4692 } | 4692 } |
| 4693 | 4693 |
| 4694 | 4694 |
| 4695 Register InstanceofStub::left() { return r0; } | 4695 Register InstanceofStub::left() { return r0; } |
| 4696 | 4696 |
| 4697 | 4697 |
| 4698 Register InstanceofStub::right() { return r1; } | 4698 Register InstanceofStub::right() { return r1; } |
| 4699 | 4699 |
| 4700 | 4700 |
| 4701 void LoadFieldStub::Generate(MacroAssembler* masm) { |
| 4702 StubCompiler::DoGenerateFastPropertyLoad(masm, r0, reg_, inobject_, index_); |
| 4703 __ Ret(); |
| 4704 } |
| 4705 |
| 4706 |
| 4701 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { | 4707 void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { |
| 4702 // The displacement is the offset of the last parameter (if any) | 4708 // The displacement is the offset of the last parameter (if any) |
| 4703 // relative to the frame pointer. | 4709 // relative to the frame pointer. |
| 4704 const int kDisplacement = | 4710 const int kDisplacement = |
| 4705 StandardFrameConstants::kCallerSPOffset - kPointerSize; | 4711 StandardFrameConstants::kCallerSPOffset - kPointerSize; |
| 4706 | 4712 |
| 4707 // Check that the key is a smi. | 4713 // Check that the key is a smi. |
| 4708 Label slow; | 4714 Label slow; |
| 4709 __ JumpIfNotSmi(r1, &slow); | 4715 __ JumpIfNotSmi(r1, &slow); |
| 4710 | 4716 |
| (...skipping 3383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8094 | 8100 |
| 8095 __ Pop(lr, r5, r1); | 8101 __ Pop(lr, r5, r1); |
| 8096 __ Ret(); | 8102 __ Ret(); |
| 8097 } | 8103 } |
| 8098 | 8104 |
| 8099 #undef __ | 8105 #undef __ |
| 8100 | 8106 |
| 8101 } } // namespace v8::internal | 8107 } } // namespace v8::internal |
| 8102 | 8108 |
| 8103 #endif // V8_TARGET_ARCH_ARM | 8109 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |