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

Unified Diff: runtime/vm/assembler_arm.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
« no previous file with comments | « no previous file | runtime/vm/assembler_arm64.cc » ('j') | runtime/vm/assembler_x64.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.cc
diff --git a/runtime/vm/assembler_arm.cc b/runtime/vm/assembler_arm.cc
index e768806218f9d0692675e28bcf3fffddfdc1c0e4..6599e59e717dc0a279eaa182d17d34fba7318013 100644
--- a/runtime/vm/assembler_arm.cc
+++ b/runtime/vm/assembler_arm.cc
@@ -3243,7 +3243,6 @@ void Assembler::NoMonomorphicCheckedEntry() {
buffer_.Reset();
bkpt(0);
bkpt(0);
- bkpt(0);
ASSERT(CodeSize() == Instructions::kCheckedEntryOffset);
}
@@ -3257,8 +3256,7 @@ void Assembler::MonomorphicCheckedEntry() {
Label miss;
Bind(&miss);
- ldr(CODE_REG, Address(THR, Thread::monomorphic_miss_stub_offset()));
- ldr(IP, FieldAddress(CODE_REG, Code::entry_point_offset()));
+ ldr(IP, Address(THR, Thread::monomorphic_miss_entry_offset()));
bx(IP);
Comment("MonomorphicCheckedEntry");
« no previous file with comments | « no previous file | runtime/vm/assembler_arm64.cc » ('j') | runtime/vm/assembler_x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698