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

Unified Diff: src/mips/assembler-mips.cc

Issue 9372063: MIPS: Enable serialization for MIPS architecture. (Closed)
Patch Set: Rework on serialization handling of root references. Created 8 years, 9 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: src/mips/assembler-mips.cc
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc
index 9f803d9c1fe8f457ec97e12d2db7fc9d179a4d97..65bf188951dfd60b381e1d39bfc3d2148c7aff69 100644
--- a/src/mips/assembler-mips.cc
+++ b/src/mips/assembler-mips.cc
@@ -850,6 +850,9 @@ bool Assembler::MustUseReg(RelocInfo::Mode rmode) {
return rmode != RelocInfo::NONE;
}
+bool Assembler::SerializingTryLoadFromRoot(RelocInfo::Mode rmode) {
+ return rmode == RelocInfo::EMBEDDED_OBJECT && Serializer::enabled();
+}
Erik Corry 2012/03/17 02:49:18 This is gone.
void Assembler::GenInstrRegister(Opcode opcode,
Register rs,

Powered by Google App Engine
This is Rietveld 408576698