Skip to content

Commit 09fc76b

Browse files
rmacnak-googlecommit-bot@chromium.org
authored andcommitted
[vm, compiler] Remove dead _classRangeCheckNegative.
Dead since 71cb547. Change-Id: I1174ee1a5f2f5b4623c8db79dabc19e46d23028e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107687 Reviewed-by: Alexander Markov <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
1 parent b472d7a commit 09fc76b

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

runtime/lib/internal_patch.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ bool _classRangeCheck(int cid, int lowerLimit, int upperLimit) {
7474
return cid >= lowerLimit && cid <= upperLimit;
7575
}
7676

77-
bool _classRangeCheckNegative(int cid, int lowerLimit, int upperLimit) {
78-
return cid < lowerLimit || cid > upperLimit;
79-
}
80-
8177
// Utility class now only used by the VM.
8278
class Lists {
8379
static void copy(List src, int srcStart, List dst, int dstStart, int count) {

runtime/vm/compiler/recognized_methods_list.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ namespace dart {
141141
V(_HashVMBase, get:_deletedKeys, LinkedHashMap_getDeletedKeys, 0x558481c2) \
142142
V(_HashVMBase, set:_deletedKeys, LinkedHashMap_setDeletedKeys, 0x5aa9888d) \
143143
V(::, _classRangeCheck, ClassRangeCheck, 0x2ae76b84) \
144-
V(::, _classRangeCheckNegative, ClassRangeCheckNegated, 0x5acdfb75) \
145144

146145
// List of intrinsics:
147146
// (class-name, function-name, intrinsification method, fingerprint).
@@ -445,7 +444,6 @@ namespace dart {
445444
V(::, min, MathMin, 0x32ebc57d) \
446445
V(::, pow, MathPow, 0x79efc5a2) \
447446
V(::, _classRangeCheck, ClassRangeCheck, 0x2ae76b84) \
448-
V(::, _classRangeCheckNegative, ClassRangeCheckNegated, 0x5acdfb75) \
449447
V(::, _toInt, ConvertMaskedInt, 0x713908fd) \
450448
V(::, _toInt8, ConvertIntToInt8, 0x7484a780) \
451449
V(::, _toUint8, ConvertIntToUint8, 0x0a15b522) \

runtime/vm/symbols.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ class ObjectPointerVisitor;
404404
V(_UserTag, "_UserTag") \
405405
V(_WeakProperty, "_WeakProperty") \
406406
V(_classRangeCheck, "_classRangeCheck") \
407-
V(_classRangeCheckNegative, "_classRangeCheckNegative") \
408407
V(_current, "_current") \
409408
V(_ensureScheduleImmediate, "_ensureScheduleImmediate") \
410409
V(_get, "_get") \

0 commit comments

Comments
 (0)