| 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 6539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6550 __ SmiToInteger32(r11, rcx); | 6550 __ SmiToInteger32(r11, rcx); |
| 6551 __ StoreNumberToDoubleElements(rax, | 6551 __ StoreNumberToDoubleElements(rax, |
| 6552 r9, | 6552 r9, |
| 6553 r11, | 6553 r11, |
| 6554 xmm0, | 6554 xmm0, |
| 6555 &slow_elements); | 6555 &slow_elements); |
| 6556 __ ret(0); | 6556 __ ret(0); |
| 6557 } | 6557 } |
| 6558 | 6558 |
| 6559 | 6559 |
| 6560 void StubFailureTrampolineStub::Generate(MacroAssembler* masm) { |
| 6561 ASSERT(!Serializer::enabled()); |
| 6562 CEntryStub ces(1, kSaveFPRegs); |
| 6563 __ Call(ces.GetCode(), RelocInfo::CODE_TARGET); |
| 6564 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); |
| 6565 __ ret(0); // Return to IC Miss stub, continuation still on stack. |
| 6566 } |
| 6567 |
| 6568 |
| 6560 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { | 6569 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { |
| 6561 if (entry_hook_ != NULL) { | 6570 if (entry_hook_ != NULL) { |
| 6562 ProfileEntryHookStub stub; | 6571 ProfileEntryHookStub stub; |
| 6563 masm->CallStub(&stub); | 6572 masm->CallStub(&stub); |
| 6564 } | 6573 } |
| 6565 } | 6574 } |
| 6566 | 6575 |
| 6567 | 6576 |
| 6568 void ProfileEntryHookStub::Generate(MacroAssembler* masm) { | 6577 void ProfileEntryHookStub::Generate(MacroAssembler* masm) { |
| 6569 // Save volatile registers. | 6578 // Save volatile registers. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6622 #endif | 6631 #endif |
| 6623 | 6632 |
| 6624 __ Ret(); | 6633 __ Ret(); |
| 6625 } | 6634 } |
| 6626 | 6635 |
| 6627 #undef __ | 6636 #undef __ |
| 6628 | 6637 |
| 6629 } } // namespace v8::internal | 6638 } } // namespace v8::internal |
| 6630 | 6639 |
| 6631 #endif // V8_TARGET_ARCH_X64 | 6640 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |