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

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

Issue 259173003: Kiss goodbye to MaybeObject. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase + addressed comments Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 #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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698