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

Unified Diff: runtime/vm/assembler_mips.cc

Issue 2403613002: Reduce size of monomorphic checked entry. (Closed)
Patch Set: . Created 4 years, 2 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/assembler_mips.cc
diff --git a/runtime/vm/assembler_mips.cc b/runtime/vm/assembler_mips.cc
index a85aa085a1a028108489e82cebf1d611843204c0..aa8905ef1b243a344acbd16b84d315f007894c9a 100644
--- a/runtime/vm/assembler_mips.cc
+++ b/runtime/vm/assembler_mips.cc
@@ -865,7 +865,6 @@ void Assembler::NoMonomorphicCheckedEntry() {
break_(0);
break_(0);
break_(0);
- break_(0);
ASSERT(CodeSize() == Instructions::kCheckedEntryOffset);
}
@@ -877,8 +876,7 @@ void Assembler::MonomorphicCheckedEntry() {
Label have_cid, miss;
Bind(&miss);
- lw(CODE_REG, Address(THR, Thread::monomorphic_miss_stub_offset()));
- lw(T9, FieldAddress(CODE_REG, Code::entry_point_offset()));
+ lw(T9, Address(THR, Thread::monomorphic_miss_entry_offset()));
jr(T9);
Comment("MonomorphicCheckedEntry");

Powered by Google App Engine
This is Rietveld 408576698