| 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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 724 if (FLAG_log_timer_events) { | 724 if (FLAG_log_timer_events) { |
| 725 FrameScope frame(this, StackFrame::MANUAL); | 725 FrameScope frame(this, StackFrame::MANUAL); |
| 726 PushSafepointRegisters(); | 726 PushSafepointRegisters(); |
| 727 PrepareCallCFunction(0); | 727 PrepareCallCFunction(0); |
| 728 CallCFunction(ExternalReference::log_enter_external_function(isolate()), 0); | 728 CallCFunction(ExternalReference::log_enter_external_function(isolate()), 0); |
| 729 PopSafepointRegisters(); | 729 PopSafepointRegisters(); |
| 730 } | 730 } |
| 731 | 731 |
| 732 // Call the api function! | 732 // Call the api function! |
| 733 movq(rax, reinterpret_cast<int64_t>(function_address), | 733 movq(rax, reinterpret_cast<int64_t>(function_address), |
| 734 RelocInfo::RUNTIME_ENTRY); | 734 RelocInfo::EXTERNAL_REFERENCE); |
| 735 call(rax); | 735 call(rax); |
| 736 | 736 |
| 737 if (FLAG_log_timer_events) { | 737 if (FLAG_log_timer_events) { |
| 738 FrameScope frame(this, StackFrame::MANUAL); | 738 FrameScope frame(this, StackFrame::MANUAL); |
| 739 PushSafepointRegisters(); | 739 PushSafepointRegisters(); |
| 740 PrepareCallCFunction(0); | 740 PrepareCallCFunction(0); |
| 741 CallCFunction(ExternalReference::log_leave_external_function(isolate()), 0); | 741 CallCFunction(ExternalReference::log_leave_external_function(isolate()), 0); |
| 742 PopSafepointRegisters(); | 742 PopSafepointRegisters(); |
| 743 } | 743 } |
| 744 | 744 |
| (...skipping 3840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4585 | 4585 |
| 4586 movq(rcx, FieldOperand(rbx, Map::kPrototypeOffset)); | 4586 movq(rcx, FieldOperand(rbx, Map::kPrototypeOffset)); |
| 4587 cmpq(rcx, null_value); | 4587 cmpq(rcx, null_value); |
| 4588 j(not_equal, &next); | 4588 j(not_equal, &next); |
| 4589 } | 4589 } |
| 4590 | 4590 |
| 4591 | 4591 |
| 4592 } } // namespace v8::internal | 4592 } } // namespace v8::internal |
| 4593 | 4593 |
| 4594 #endif // V8_TARGET_ARCH_X64 | 4594 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |