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 "v8.h" | 8 #include "v8.h" |
9 | 9 |
10 #if V8_TARGET_ARCH_ARM64 | 10 #if V8_TARGET_ARCH_ARM64 |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 FATAL("ALIGNMENT EXCEPTION"); | 563 FATAL("ALIGNMENT EXCEPTION"); |
564 } | 564 } |
565 | 565 |
566 switch (redirection->type()) { | 566 switch (redirection->type()) { |
567 default: | 567 default: |
568 TraceSim("Type: Unknown.\n"); | 568 TraceSim("Type: Unknown.\n"); |
569 UNREACHABLE(); | 569 UNREACHABLE(); |
570 break; | 570 break; |
571 | 571 |
572 case ExternalReference::BUILTIN_CALL: { | 572 case ExternalReference::BUILTIN_CALL: { |
573 // MaybeObject* f(v8::internal::Arguments). | 573 // Object* f(v8::internal::Arguments). |
574 TraceSim("Type: BUILTIN_CALL\n"); | 574 TraceSim("Type: BUILTIN_CALL\n"); |
575 SimulatorRuntimeCall target = | 575 SimulatorRuntimeCall target = |
576 reinterpret_cast<SimulatorRuntimeCall>(external); | 576 reinterpret_cast<SimulatorRuntimeCall>(external); |
577 | 577 |
578 // We don't know how many arguments are being passed, but we can | 578 // We don't know how many arguments are being passed, but we can |
579 // pass 8 without touching the stack. They will be ignored by the | 579 // pass 8 without touching the stack. They will be ignored by the |
580 // host function if they aren't used. | 580 // host function if they aren't used. |
581 TraceSim("Arguments: " | 581 TraceSim("Arguments: " |
582 "0x%016" PRIx64 ", 0x%016" PRIx64 ", " | 582 "0x%016" PRIx64 ", 0x%016" PRIx64 ", " |
583 "0x%016" PRIx64 ", 0x%016" PRIx64 ", " | 583 "0x%016" PRIx64 ", 0x%016" PRIx64 ", " |
(...skipping 3048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3632 default: | 3632 default: |
3633 UNIMPLEMENTED(); | 3633 UNIMPLEMENTED(); |
3634 } | 3634 } |
3635 } | 3635 } |
3636 | 3636 |
3637 #endif // USE_SIMULATOR | 3637 #endif // USE_SIMULATOR |
3638 | 3638 |
3639 } } // namespace v8::internal | 3639 } } // namespace v8::internal |
3640 | 3640 |
3641 #endif // V8_TARGET_ARCH_ARM64 | 3641 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |