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

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

Issue 2901383004: [instruction scheduler] fix ArchDebugBreak. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « src/arm64/assembler-arm64.cc ('k') | src/compiler/instruction-scheduler.cc » ('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 3871 matching lines...) Expand 10 before | Expand all | Expand 10 after
3882 } else if (instr->ImmException() == kImmExceptionIsUnreachable) { 3882 } else if (instr->ImmException() == kImmExceptionIsUnreachable) {
3883 fprintf(stream_, "Hit UNREACHABLE marker at PC=%p.\n", 3883 fprintf(stream_, "Hit UNREACHABLE marker at PC=%p.\n",
3884 reinterpret_cast<void*>(pc_)); 3884 reinterpret_cast<void*>(pc_));
3885 abort(); 3885 abort();
3886 3886
3887 } else { 3887 } else {
3888 base::OS::DebugBreak(); 3888 base::OS::DebugBreak();
3889 } 3889 }
3890 break; 3890 break;
3891 } 3891 }
3892 3892 case BRK:
3893 base::OS::DebugBreak();
3894 break;
3893 default: 3895 default:
3894 UNIMPLEMENTED(); 3896 UNIMPLEMENTED();
3895 } 3897 }
3896 } 3898 }
3897 3899
3898 3900
3899 void Simulator::DoPrintf(Instruction* instr) { 3901 void Simulator::DoPrintf(Instruction* instr) {
3900 DCHECK((instr->Mask(ExceptionMask) == HLT) && 3902 DCHECK((instr->Mask(ExceptionMask) == HLT) &&
3901 (instr->ImmException() == kImmExceptionIsPrintf)); 3903 (instr->ImmException() == kImmExceptionIsPrintf));
3902 3904
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
4201 processor->prev_ = nullptr; 4203 processor->prev_ = nullptr;
4202 processor->next_ = nullptr; 4204 processor->next_ = nullptr;
4203 } 4205 }
4204 4206
4205 #endif // USE_SIMULATOR 4207 #endif // USE_SIMULATOR
4206 4208
4207 } // namespace internal 4209 } // namespace internal
4208 } // namespace v8 4210 } // namespace v8
4209 4211
4210 #endif // V8_TARGET_ARCH_ARM64 4212 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/assembler-arm64.cc ('k') | src/compiler/instruction-scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698