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

Unified Diff: runtime/vm/snapshot.cc

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/snapshot.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index ce9c5dab691220d6230522628ff07d59a916c364..9d24f0cc2f893914e0c4855e198c79c359c8557e 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -981,21 +981,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
}

Powered by Google App Engine
This is Rietveld 408576698