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

Unified Diff: runtime/vm/method_recognizer.cc

Issue 860963002: Refactor _ByteDataView.[set|get]* methods to improve their performance. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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.cc
diff --git a/runtime/vm/method_recognizer.cc b/runtime/vm/method_recognizer.cc
index 84cd00af62713896721ed8e1e55e0af862067e83..fcfbdd6b95402c48a550e303a9e96b128ae867da 100644
--- a/runtime/vm/method_recognizer.cc
+++ b/runtime/vm/method_recognizer.cc
@@ -50,7 +50,7 @@ void MethodRecognizer::InitializeState() {
OS::PrintErr("Missing %s::%s\n", #class_name, #function_name); \
UNREACHABLE(); \
} \
- ASSERT(func.CheckSourceFingerprint(fp)); \
+ CHECK_FINGERPRINT3(func, class_name, function_name, enum_name, fp); \
func.set_recognized_kind(k##enum_name);
RECOGNIZED_LIST(SET_RECOGNIZED_KIND);
@@ -61,7 +61,7 @@ void MethodRecognizer::InitializeState() {
OS::PrintErr("Missing %s::%s\n", #class_name, #function_name); \
UNREACHABLE(); \
} \
- ASSERT(func.CheckSourceFingerprint(fp)); \
+ CHECK_FINGERPRINT3(func, class_name, function_name, dest, fp); \
func.setter(value);
#define SET_IS_ALWAYS_INLINE(class_name, function_name, dest, fp) \

Powered by Google App Engine
This is Rietveld 408576698