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

Unified Diff: runtime/vm/flow_graph_compiler_arm64.cc

Issue 2856543002: Use off-heap data for class check instructions (Closed)
Patch Set: Feedback from Slava: rejig inheritance of CallTargets Created 3 years, 7 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/flow_graph_compiler_arm64.cc
diff --git a/runtime/vm/flow_graph_compiler_arm64.cc b/runtime/vm/flow_graph_compiler_arm64.cc
index e51c0ab389f0abedfc5f830e1f08a6e69ea408f2..1e1ce9f4e92d02423504bc968fa9b2f6a44c042f 100644
--- a/runtime/vm/flow_graph_compiler_arm64.cc
+++ b/runtime/vm/flow_graph_compiler_arm64.cc
@@ -1487,10 +1487,10 @@ void FlowGraphCompiler::EmitTestAndCallLoadCid() {
int FlowGraphCompiler::EmitTestAndCallCheckCid(Label* next_label,
- const CidRangeTarget& target,
+ const CidRange& range,
int bias) {
- intptr_t cid_start = target.cid_start;
- intptr_t cid_end = target.cid_end;
+ intptr_t cid_start = range.cid_start;
+ intptr_t cid_end = range.cid_end;
if (cid_start == cid_end) {
__ CompareImmediate(R2, cid_start - bias);
__ b(next_label, NE);

Powered by Google App Engine
This is Rietveld 408576698