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

Side by Side Diff: src/assembler.cc

Issue 153923005: A64: Synchronize with r17525. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | « src/assembler.h ('k') | src/builtins.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 PrintF(out, "%p %s", pc_, RelocModeName(rmode_)); 815 PrintF(out, "%p %s", pc_, RelocModeName(rmode_));
816 if (IsComment(rmode_)) { 816 if (IsComment(rmode_)) {
817 PrintF(out, " (%s)", reinterpret_cast<char*>(data_)); 817 PrintF(out, " (%s)", reinterpret_cast<char*>(data_));
818 } else if (rmode_ == EMBEDDED_OBJECT) { 818 } else if (rmode_ == EMBEDDED_OBJECT) {
819 PrintF(out, " ("); 819 PrintF(out, " (");
820 target_object()->ShortPrint(out); 820 target_object()->ShortPrint(out);
821 PrintF(out, ")"); 821 PrintF(out, ")");
822 } else if (rmode_ == EXTERNAL_REFERENCE) { 822 } else if (rmode_ == EXTERNAL_REFERENCE) {
823 ExternalReferenceEncoder ref_encoder(isolate); 823 ExternalReferenceEncoder ref_encoder(isolate);
824 PrintF(out, " (%s) (%p)", 824 PrintF(out, " (%s) (%p)",
825 ref_encoder.NameOfAddress(*target_reference_address()), 825 ref_encoder.NameOfAddress(target_reference()),
826 *target_reference_address()); 826 target_reference());
827 } else if (IsCodeTarget(rmode_)) { 827 } else if (IsCodeTarget(rmode_)) {
828 Code* code = Code::GetCodeFromTargetAddress(target_address()); 828 Code* code = Code::GetCodeFromTargetAddress(target_address());
829 PrintF(out, " (%s) (%p)", Code::Kind2String(code->kind()), 829 PrintF(out, " (%s) (%p)", Code::Kind2String(code->kind()),
830 target_address()); 830 target_address());
831 if (rmode_ == CODE_TARGET_WITH_ID) { 831 if (rmode_ == CODE_TARGET_WITH_ID) {
832 PrintF(" (id=%d)", static_cast<int>(data_)); 832 PrintF(" (id=%d)", static_cast<int>(data_));
833 } 833 }
834 } else if (IsPosition(rmode_)) { 834 } else if (IsPosition(rmode_)) {
835 PrintF(out, " (%" V8_PTR_PREFIX "d)", data()); 835 PrintF(out, " (%" V8_PTR_PREFIX "d)", data());
836 } else if (IsRuntimeEntry(rmode_) && 836 } else if (IsRuntimeEntry(rmode_) &&
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1723 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1724 state_.written_position = state_.current_position; 1724 state_.written_position = state_.current_position;
1725 written = true; 1725 written = true;
1726 } 1726 }
1727 1727
1728 // Return whether something was written. 1728 // Return whether something was written.
1729 return written; 1729 return written;
1730 } 1730 }
1731 1731
1732 } } // namespace v8::internal 1732 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698