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

Side by Side Diff: src/assembler.cc

Issue 1847373002: [debugger] fix step-next for tail calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix reloc info Created 4 years, 8 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/assembler.h ('k') | src/debug/debug.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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 case CONST_POOL: 831 case CONST_POOL:
832 return "constant pool"; 832 return "constant pool";
833 case VENEER_POOL: 833 case VENEER_POOL:
834 return "veneer pool"; 834 return "veneer pool";
835 case DEBUG_BREAK_SLOT_AT_POSITION: 835 case DEBUG_BREAK_SLOT_AT_POSITION:
836 return "debug break slot at position"; 836 return "debug break slot at position";
837 case DEBUG_BREAK_SLOT_AT_RETURN: 837 case DEBUG_BREAK_SLOT_AT_RETURN:
838 return "debug break slot at return"; 838 return "debug break slot at return";
839 case DEBUG_BREAK_SLOT_AT_CALL: 839 case DEBUG_BREAK_SLOT_AT_CALL:
840 return "debug break slot at call"; 840 return "debug break slot at call";
841 case DEBUG_BREAK_SLOT_AT_TAIL_CALL:
842 return "debug break slot at tail call";
841 case CODE_AGE_SEQUENCE: 843 case CODE_AGE_SEQUENCE:
842 return "code age sequence"; 844 return "code age sequence";
843 case GENERATOR_CONTINUATION: 845 case GENERATOR_CONTINUATION:
844 return "generator continuation"; 846 return "generator continuation";
845 case WASM_MEMORY_REFERENCE: 847 case WASM_MEMORY_REFERENCE:
846 return "wasm memory reference"; 848 return "wasm memory reference";
847 case NUMBER_OF_MODES: 849 case NUMBER_OF_MODES:
848 case PC_JUMP: 850 case PC_JUMP:
849 UNREACHABLE(); 851 UNREACHABLE();
850 return "number_of_modes"; 852 return "number_of_modes";
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 case COMMENT: 931 case COMMENT:
930 case POSITION: 932 case POSITION:
931 case STATEMENT_POSITION: 933 case STATEMENT_POSITION:
932 case EXTERNAL_REFERENCE: 934 case EXTERNAL_REFERENCE:
933 case DEOPT_REASON: 935 case DEOPT_REASON:
934 case CONST_POOL: 936 case CONST_POOL:
935 case VENEER_POOL: 937 case VENEER_POOL:
936 case DEBUG_BREAK_SLOT_AT_POSITION: 938 case DEBUG_BREAK_SLOT_AT_POSITION:
937 case DEBUG_BREAK_SLOT_AT_RETURN: 939 case DEBUG_BREAK_SLOT_AT_RETURN:
938 case DEBUG_BREAK_SLOT_AT_CALL: 940 case DEBUG_BREAK_SLOT_AT_CALL:
941 case DEBUG_BREAK_SLOT_AT_TAIL_CALL:
939 case GENERATOR_CONTINUATION: 942 case GENERATOR_CONTINUATION:
940 case WASM_MEMORY_REFERENCE: 943 case WASM_MEMORY_REFERENCE:
941 case NONE32: 944 case NONE32:
942 case NONE64: 945 case NONE64:
943 break; 946 break;
944 case NUMBER_OF_MODES: 947 case NUMBER_OF_MODES:
945 case PC_JUMP: 948 case PC_JUMP:
946 UNREACHABLE(); 949 UNREACHABLE();
947 break; 950 break;
948 case CODE_AGE_SEQUENCE: 951 case CODE_AGE_SEQUENCE:
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2074 2077
2075 2078
2076 void Assembler::DataAlign(int m) { 2079 void Assembler::DataAlign(int m) {
2077 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 2080 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
2078 while ((pc_offset() & (m - 1)) != 0) { 2081 while ((pc_offset() & (m - 1)) != 0) {
2079 db(0); 2082 db(0);
2080 } 2083 }
2081 } 2084 }
2082 } // namespace internal 2085 } // namespace internal
2083 } // namespace v8 2086 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/debug/debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698