| OLD | NEW | 
|     1 // Copyright 2011 the V8 project authors. All rights reserved. |     1 // Copyright 2011 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 5902 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  5913   __ Jump(r2); |  5913   __ Jump(r2); | 
|  5914 } |  5914 } | 
|  5915  |  5915  | 
|  5916  |  5916  | 
|  5917 void DirectCEntryStub::Generate(MacroAssembler* masm) { |  5917 void DirectCEntryStub::Generate(MacroAssembler* masm) { | 
|  5918   __ ldr(pc, MemOperand(sp, 0)); |  5918   __ ldr(pc, MemOperand(sp, 0)); | 
|  5919 } |  5919 } | 
|  5920  |  5920  | 
|  5921  |  5921  | 
|  5922 void DirectCEntryStub::GenerateCall(MacroAssembler* masm, |  5922 void DirectCEntryStub::GenerateCall(MacroAssembler* masm, | 
|  5923                                     ApiFunction *function) { |  5923                                     ExternalReference function) { | 
|  5924   __ mov(lr, Operand(reinterpret_cast<intptr_t>(GetCode().location()), |  5924   __ mov(lr, Operand(reinterpret_cast<intptr_t>(GetCode().location()), | 
|  5925                      RelocInfo::CODE_TARGET)); |  5925                      RelocInfo::CODE_TARGET)); | 
|  5926   // Push return address (accessible to GC through exit frame pc). |  5926   // Push return address (accessible to GC through exit frame pc). | 
|  5927   __ mov(r2, |  5927   __ mov(r2, Operand(function)); | 
|  5928          Operand(ExternalReference(function, ExternalReference::DIRECT_CALL))); |  | 
|  5929   __ str(pc, MemOperand(sp, 0)); |  5928   __ str(pc, MemOperand(sp, 0)); | 
|  5930   __ Jump(r2);  // Call the api function. |  5929   __ Jump(r2);  // Call the api function. | 
|  5931 } |  5930 } | 
|  5932  |  5931  | 
|  5933  |  5932  | 
|  5934 void GenerateFastPixelArrayLoad(MacroAssembler* masm, |  5933 void GenerateFastPixelArrayLoad(MacroAssembler* masm, | 
|  5935                                 Register receiver, |  5934                                 Register receiver, | 
|  5936                                 Register key, |  5935                                 Register key, | 
|  5937                                 Register elements_map, |  5936                                 Register elements_map, | 
|  5938                                 Register elements, |  5937                                 Register elements, | 
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  5996   __ SmiTag(r0, scratch1); |  5995   __ SmiTag(r0, scratch1); | 
|  5997   __ Ret(); |  5996   __ Ret(); | 
|  5998 } |  5997 } | 
|  5999  |  5998  | 
|  6000  |  5999  | 
|  6001 #undef __ |  6000 #undef __ | 
|  6002  |  6001  | 
|  6003 } }  // namespace v8::internal |  6002 } }  // namespace v8::internal | 
|  6004  |  6003  | 
|  6005 #endif  // V8_TARGET_ARCH_ARM |  6004 #endif  // V8_TARGET_ARCH_ARM | 
| OLD | NEW |