Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: src/arm64/simulator-arm64.cc

Issue 1604653006: Introduce BUILTIN_CALL_PAIR. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Changes based on review comments. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm/simulator-arm.cc ('k') | src/assembler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 8
9 #if V8_TARGET_ARCH_ARM64 9 #if V8_TARGET_ARCH_ARM64
10 10
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 TraceSim(" with unaligned stack 0x%016" PRIx64 ".\n", sp()); 582 TraceSim(" with unaligned stack 0x%016" PRIx64 ".\n", sp());
583 FATAL("ALIGNMENT EXCEPTION"); 583 FATAL("ALIGNMENT EXCEPTION");
584 } 584 }
585 585
586 switch (redirection->type()) { 586 switch (redirection->type()) {
587 default: 587 default:
588 TraceSim("Type: Unknown.\n"); 588 TraceSim("Type: Unknown.\n");
589 UNREACHABLE(); 589 UNREACHABLE();
590 break; 590 break;
591 591
592 case ExternalReference::BUILTIN_CALL: { 592 case ExternalReference::BUILTIN_CALL:
593 case ExternalReference::BUILTIN_CALL_PAIR: {
593 // Object* f(v8::internal::Arguments) or 594 // Object* f(v8::internal::Arguments) or
594 // ObjectPair f(v8::internal::Arguments). 595 // ObjectPair f(v8::internal::Arguments).
595 TraceSim("Type: BUILTIN_CALL\n"); 596 TraceSim("Type: BUILTIN_CALL\n");
596 SimulatorRuntimeCall target = 597 SimulatorRuntimeCall target =
597 reinterpret_cast<SimulatorRuntimeCall>(external); 598 reinterpret_cast<SimulatorRuntimeCall>(external);
598 599
599 // We don't know how many arguments are being passed, but we can 600 // We don't know how many arguments are being passed, but we can
600 // pass 8 without touching the stack. They will be ignored by the 601 // pass 8 without touching the stack. They will be ignored by the
601 // host function if they aren't used. 602 // host function if they aren't used.
602 TraceSim("Arguments: " 603 TraceSim("Arguments: "
(...skipping 3263 matching lines...) Expand 10 before | Expand all | Expand 10 after
3866 delete[] format; 3867 delete[] format;
3867 } 3868 }
3868 3869
3869 3870
3870 #endif // USE_SIMULATOR 3871 #endif // USE_SIMULATOR
3871 3872
3872 } // namespace internal 3873 } // namespace internal
3873 } // namespace v8 3874 } // namespace v8
3874 3875
3875 #endif // V8_TARGET_ARCH_ARM64 3876 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/simulator-arm.cc ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698