| 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 7531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7542 __ StoreNumberToDoubleElements(r0, r3, | 7542 __ StoreNumberToDoubleElements(r0, r3, |
| 7543 // Overwrites all regs after this. | 7543 // Overwrites all regs after this. |
| 7544 r5, r6, r7, r9, r2, | 7544 r5, r6, r7, r9, r2, |
| 7545 &slow_elements); | 7545 &slow_elements); |
| 7546 __ Ret(); | 7546 __ Ret(); |
| 7547 } | 7547 } |
| 7548 | 7548 |
| 7549 | 7549 |
| 7550 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { | 7550 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { |
| 7551 if (entry_hook_ != NULL) { | 7551 if (entry_hook_ != NULL) { |
| 7552 PredictableCodeSizeScope predictable(masm); | 7552 PredictableCodeSizeScope predictable(masm, 4 * Assembler::kInstrSize); |
| 7553 ProfileEntryHookStub stub; | 7553 ProfileEntryHookStub stub; |
| 7554 __ push(lr); | 7554 __ push(lr); |
| 7555 __ CallStub(&stub); | 7555 __ CallStub(&stub); |
| 7556 __ pop(lr); | 7556 __ pop(lr); |
| 7557 } | 7557 } |
| 7558 } | 7558 } |
| 7559 | 7559 |
| 7560 | 7560 |
| 7561 void ProfileEntryHookStub::Generate(MacroAssembler* masm) { | 7561 void ProfileEntryHookStub::Generate(MacroAssembler* masm) { |
| 7562 // The entry hook is a "push lr" instruction, followed by a call. | 7562 // The entry hook is a "push lr" instruction, followed by a call. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7604 | 7604 |
| 7605 __ Pop(lr, r5, r1); | 7605 __ Pop(lr, r5, r1); |
| 7606 __ Ret(); | 7606 __ Ret(); |
| 7607 } | 7607 } |
| 7608 | 7608 |
| 7609 #undef __ | 7609 #undef __ |
| 7610 | 7610 |
| 7611 } } // namespace v8::internal | 7611 } } // namespace v8::internal |
| 7612 | 7612 |
| 7613 #endif // V8_TARGET_ARCH_ARM | 7613 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |