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

Unified Diff: runtime/vm/assembler_arm64.h

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_arm64.h
diff --git a/runtime/vm/assembler_arm64.h b/runtime/vm/assembler_arm64.h
index d28d0cee54c27aa81364a21f64423f07122b8cbc..4ef4f9582af6adf45b4f1da6aea79b7e88dab9bb 100644
--- a/runtime/vm/assembler_arm64.h
+++ b/runtime/vm/assembler_arm64.h
@@ -467,6 +467,7 @@ class Assembler : public ValueObject {
// Misc. functionality
intptr_t CodeSize() const { return buffer_.Size(); }
intptr_t prologue_offset() const { return prologue_offset_; }
+ bool has_single_entry_point() const { return has_single_entry_point_; }
// Count the fixups that produce a pointer offset, without processing
// the fixups. On ARM64 there are no pointers in code.
@@ -1363,7 +1364,6 @@ class Assembler : public ValueObject {
void EnterStubFrame();
void LeaveStubFrame();
- void NoMonomorphicCheckedEntry();
void MonomorphicCheckedEntry();
void UpdateAllocationStats(intptr_t cid,
@@ -1428,11 +1428,9 @@ class Assembler : public ValueObject {
private:
AssemblerBuffer buffer_; // Contains position independent code.
-
ObjectPoolWrapper object_pool_wrapper_;
-
int32_t prologue_offset_;
-
+ bool has_single_entry_point_;
bool use_far_branches_;
class CodeComment : public ZoneAllocated {
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/assembler_arm64.cc » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698