OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stdlib.h> | 5 #include <stdlib.h> |
6 #include <cmath> | 6 #include <cmath> |
7 #include <cstdarg> | 7 #include <cstdarg> |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #if V8_TARGET_ARCH_ARM64 | 10 #if V8_TARGET_ARCH_ARM64 |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 target(xreg(0), arg1); | 697 target(xreg(0), arg1); |
698 TraceSim("No return value."); | 698 TraceSim("No return value."); |
699 #ifdef DEBUG | 699 #ifdef DEBUG |
700 CorruptAllCallerSavedCPURegisters(); | 700 CorruptAllCallerSavedCPURegisters(); |
701 #endif | 701 #endif |
702 break; | 702 break; |
703 } | 703 } |
704 | 704 |
705 case ExternalReference::PROFILING_GETTER_CALL: { | 705 case ExternalReference::PROFILING_GETTER_CALL: { |
706 // void f(Local<String> property, PropertyCallbackInfo& info, | 706 // void f(Local<String> property, PropertyCallbackInfo& info, |
707 // AccessorGetterCallback callback) | 707 // AccessorNameGetterCallback callback) |
708 TraceSim("Type: PROFILING_GETTER_CALL\n"); | 708 TraceSim("Type: PROFILING_GETTER_CALL\n"); |
709 SimulatorRuntimeProfilingGetterCall target = | 709 SimulatorRuntimeProfilingGetterCall target = |
710 reinterpret_cast<SimulatorRuntimeProfilingGetterCall>( | 710 reinterpret_cast<SimulatorRuntimeProfilingGetterCall>( |
711 external); | 711 external); |
712 void* arg2 = Redirection::ReverseRedirection(xreg(2)); | 712 void* arg2 = Redirection::ReverseRedirection(xreg(2)); |
713 TraceSim("Arguments: 0x%016" PRIx64 ", 0x%016" PRIx64 ", %p\n", | 713 TraceSim("Arguments: 0x%016" PRIx64 ", 0x%016" PRIx64 ", %p\n", |
714 xreg(0), xreg(1), arg2); | 714 xreg(0), xreg(1), arg2); |
715 target(xreg(0), xreg(1), arg2); | 715 target(xreg(0), xreg(1), arg2); |
716 TraceSim("No return value."); | 716 TraceSim("No return value."); |
717 #ifdef DEBUG | 717 #ifdef DEBUG |
(...skipping 3011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3729 | 3729 |
3730 delete[] format; | 3730 delete[] format; |
3731 } | 3731 } |
3732 | 3732 |
3733 | 3733 |
3734 #endif // USE_SIMULATOR | 3734 #endif // USE_SIMULATOR |
3735 | 3735 |
3736 } } // namespace v8::internal | 3736 } } // namespace v8::internal |
3737 | 3737 |
3738 #endif // V8_TARGET_ARCH_ARM64 | 3738 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |