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

Unified Diff: runtime/vm/method_recognizer.h

Issue 2805903004: Working implementation of #29153 range check in as-casts. (Closed)
Patch Set: Incorporate @rmacnak's feedback: ZoneHandle, position, symbol null. Created 3 years, 8 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/method_recognizer.h
diff --git a/runtime/vm/method_recognizer.h b/runtime/vm/method_recognizer.h
index a744c9b54aadab1e06275166788812c314c8258f..a0e8fce35f0c0933bd25115807b620e1b8765baf 100644
--- a/runtime/vm/method_recognizer.h
+++ b/runtime/vm/method_recognizer.h
@@ -133,6 +133,8 @@ namespace dart {
0x5e83ecad) \
V(::, _classRangeCheck, ClassRangeCheck, Bool, 0x16a2fc83) \
V(::, _classRangeCheckNegative, ClassRangeCheckNegated, Bool, 0x46898c74) \
+ V(::, _classRangeAssert, ClassRangeAssert, Dynamic, 0x3ccbdf6e) \
+ V(::, _classIdEqualsAssert, ClassIdEqualsAssert, Dynamic, 0x4dc80932) \
// List of intrinsics:
@@ -421,6 +423,8 @@ namespace dart {
V(::, pow, MathPow, 0x5f119fa5) \
V(::, _classRangeCheck, ClassRangeCheck, 0x16a2fc83) \
V(::, _classRangeCheckNegative, ClassRangeCheckNegated, 0x46898c74) \
+ V(::, _classRangeAssert, ClassRangeAssert, 0x3ccbdf6e) \
+ V(::, _classIdEqualsAssert, ClassIdEqualsAssert, 0x4dc80932) \
V(Lists, copy, ListsCopy, 0x714584f8) \
V(_Bigint, get:_neg, Bigint_getNeg, 0x356019c4) \
V(_Bigint, get:_used, Bigint_getUsed, 0x33ba5131) \

Powered by Google App Engine
This is Rietveld 408576698