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

Unified Diff: runtime/vm/snapshot.cc

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/simulator_mips.cc ('k') | runtime/vm/stack_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index 01f99f0a7b1645d3df10a917579f237a1d3d98a5..0098bb7e6fe446e05b2436e328c0224900f52454 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -992,21 +992,6 @@ void AssemblyImageWriter::FrameUnwindPrologue() {
assembly_stream_.Print(".setfp r11, sp, #0\n");
#endif
-#elif defined(TARGET_ARCH_MIPS)
- COMPILE_ASSERT(FP == R30);
- COMPILE_ASSERT(RA == R31);
- assembly_stream_.Print(".cfi_def_cfa r30, 0\n"); // CFA is fp+0
- assembly_stream_.Print(".cfi_offset r30, 0\n"); // saved fp is *(CFA+0)
- assembly_stream_.Print(".cfi_offset r31, 4\n"); // saved pc is *(CFA+4)
- // saved sp is CFA+16
- // Should be ".cfi_value_offset sp, 8", but requires gcc newer than late
- // 2016 and not supported by Android's libunwind.
- // DW_CFA_expression 0x10
- // uleb128 register (sp) 29
- // uleb128 size of operation 2
- // DW_OP_plus_uconst 0x23
- // uleb128 addend 8
- assembly_stream_.Print(".cfi_escape 0x10, 29, 2, 0x23, 8\n");
#endif
}
« no previous file with comments | « runtime/vm/simulator_mips.cc ('k') | runtime/vm/stack_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698