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

Unified Diff: runtime/vm/constants_dbc.h

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/constants_dbc.h
diff --git a/runtime/vm/constants_dbc.h b/runtime/vm/constants_dbc.h
index 9f42855e69a1bdc091d00e4600a24f6eb9fb2370..becbe0335dd4b738b31b12e90f5268c5eb7337a3 100644
--- a/runtime/vm/constants_dbc.h
+++ b/runtime/vm/constants_dbc.h
@@ -590,7 +590,7 @@ namespace dart {
// If the class id in FP[rA] matches the class id D, then skip the
// following instruction.
//
-// - CheckDenseSwitch rA, D
+// - CheckBitTest rA, D
//
// Skips the next 3 instructions if the object at FP[rA] is a valid class for
// a dense switch with low cid encoded in the following Nop instruction, and
@@ -841,7 +841,7 @@ namespace dart {
V(CheckSmi, A, reg, ___, ___) \
V(CheckEitherNonSmi, A_D, reg, reg, ___) \
V(CheckClassId, A_D, reg, num, ___) \
- V(CheckDenseSwitch, A_D, reg, num, ___) \
+ V(CheckBitTest, A_D, reg, num, ___) \
V(CheckCids, A_B_C, reg, num, num) \
V(CheckCidsByRange, A_B_C, reg, num, num) \
V(CheckStack, 0, ___, ___, ___) \

Powered by Google App Engine
This is Rietveld 408576698