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

Side by Side Diff: src/assembler.cc

Issue 11744020: Rename RelocInfo::NONE to RelocInfo::NONE32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/assembler.h ('k') | src/ia32/assembler-ia32.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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 } 685 }
686 686
687 687
688 // ----------------------------------------------------------------------------- 688 // -----------------------------------------------------------------------------
689 // Implementation of RelocInfo 689 // Implementation of RelocInfo
690 690
691 691
692 #ifdef ENABLE_DISASSEMBLER 692 #ifdef ENABLE_DISASSEMBLER
693 const char* RelocInfo::RelocModeName(RelocInfo::Mode rmode) { 693 const char* RelocInfo::RelocModeName(RelocInfo::Mode rmode) {
694 switch (rmode) { 694 switch (rmode) {
695 case RelocInfo::NONE: 695 case RelocInfo::NONE32:
696 return "no reloc 32"; 696 return "no reloc 32";
697 case RelocInfo::NONE64: 697 case RelocInfo::NONE64:
698 return "no reloc 64"; 698 return "no reloc 64";
699 case RelocInfo::EMBEDDED_OBJECT: 699 case RelocInfo::EMBEDDED_OBJECT:
700 return "embedded object"; 700 return "embedded object";
701 case RelocInfo::CONSTRUCT_CALL: 701 case RelocInfo::CONSTRUCT_CALL:
702 return "code target (js construct call)"; 702 return "code target (js construct call)";
703 case RelocInfo::CODE_TARGET_CONTEXT: 703 case RelocInfo::CODE_TARGET_CONTEXT:
704 return "code target (context)"; 704 return "code target (context)";
705 case RelocInfo::DEBUG_BREAK: 705 case RelocInfo::DEBUG_BREAK:
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 } 811 }
812 case RUNTIME_ENTRY: 812 case RUNTIME_ENTRY:
813 case JS_RETURN: 813 case JS_RETURN:
814 case COMMENT: 814 case COMMENT:
815 case POSITION: 815 case POSITION:
816 case STATEMENT_POSITION: 816 case STATEMENT_POSITION:
817 case EXTERNAL_REFERENCE: 817 case EXTERNAL_REFERENCE:
818 case INTERNAL_REFERENCE: 818 case INTERNAL_REFERENCE:
819 case CONST_POOL: 819 case CONST_POOL:
820 case DEBUG_BREAK_SLOT: 820 case DEBUG_BREAK_SLOT:
821 case NONE: 821 case NONE32:
822 case NONE64: 822 case NONE64:
823 break; 823 break;
824 case NUMBER_OF_MODES: 824 case NUMBER_OF_MODES:
825 UNREACHABLE(); 825 UNREACHABLE();
826 break; 826 break;
827 case CODE_AGE_SEQUENCE: 827 case CODE_AGE_SEQUENCE:
828 ASSERT(Code::IsYoungSequence(pc_) || code_age_stub()->IsCode()); 828 ASSERT(Code::IsYoungSequence(pc_) || code_age_stub()->IsCode());
829 break; 829 break;
830 } 830 }
831 } 831 }
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1557 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1557 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1558 state_.written_position = state_.current_position; 1558 state_.written_position = state_.current_position;
1559 written = true; 1559 written = true;
1560 } 1560 }
1561 1561
1562 // Return whether something was written. 1562 // Return whether something was written.
1563 return written; 1563 return written;
1564 } 1564 }
1565 1565
1566 } } // namespace v8::internal 1566 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698