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

Unified Diff: runtime/vm/assembler_mips.cc

Issue 2463083002: Remove default monomorphic check code from functions and stubs that do not need it. (Closed)
Patch Set: address comment Created 4 years, 1 month 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 281a155f6728d96c74c46c8506ad4c2db8f2b0c0..dcf147341c2b44b53a1f40409b6c76d71ccb5e92 100644
--- a/runtime/vm/assembler_mips.cc
+++ b/runtime/vm/assembler_mips.cc
@@ -860,17 +860,10 @@ void Assembler::LeaveStubFrameAndReturn(Register ra) {
}
-void Assembler::NoMonomorphicCheckedEntry() {
- buffer_.Reset();
- break_(0);
- break_(0);
- break_(0);
- ASSERT(CodeSize() == Instructions::kCheckedEntryOffset);
-}
-
-
// T0 receiver, S5 guarded cid as Smi
void Assembler::MonomorphicCheckedEntry() {
+ ASSERT(has_single_entry_point_);
+ has_single_entry_point_ = false;
bool saved_use_far_branches = use_far_branches();
set_use_far_branches(false);
« no previous file with comments | « runtime/vm/assembler_mips.h ('k') | runtime/vm/assembler_x64.h » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698