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

Unified Diff: runtime/vm/intermediate_language.h

Issue 11412137: Reenable function source fingerprint checks. Added checks to MethodRecognizer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 15200)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -29,18 +29,20 @@
// TODO(srdjan): Add _ByteArrayBase, get:length.
-
+// TODO(srdjan): Unify with INTRINSIC_LIST.
+// (class-name, function-name, recognized enum, fingerprint).
+// See intrinsifier for fingerprint computation.
#define RECOGNIZED_LIST(V) \
- V(_ObjectArray, get:length, ObjectArrayLength) \
- V(_ImmutableArray, get:length, ImmutableArrayLength) \
- V(_GrowableObjectArray, get:length, GrowableArrayLength) \
- V(_GrowableObjectArray, get:capacity, GrowableArrayCapacity) \
- V(_StringBase, get:length, StringBaseLength) \
- V(_StringBase, get:isEmpty, StringBaseIsEmpty) \
- V(_StringBase, charCodeAt, StringBaseCharCodeAt) \
- V(_IntegerImplementation, toDouble, IntegerToDouble) \
- V(_Double, toInt, DoubleToInteger) \
- V(::, sqrt, MathSqrt) \
+ V(_ObjectArray, get:length, ObjectArrayLength, 405297088) \
+ V(_ImmutableArray, get:length, ImmutableArrayLength, 433698233) \
+ V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \
+ V(_GrowableObjectArray, get:capacity, GrowableArrayCapacity, 725548050) \
+ V(_StringBase, get:length, StringBaseLength, 320803993) \
+ V(_StringBase, get:isEmpty, StringBaseIsEmpty, 1065961093) \
+ V(_StringBase, charCodeAt, StringBaseCharCodeAt, 984449525) \
+ V(_IntegerImplementation, toDouble, IntegerToDouble, 1396338041) \
+ V(_Double, toInt, DoubleToInteger, 362666636) \
+ V(::, sqrt, MathSqrt, 2232519) \
// Class that recognizes the name and owner of a function and returns the
// corresponding enum. See RECOGNIZED_LIST above for list of recognizable
@@ -49,7 +51,7 @@
public:
enum Kind {
kUnknown,
-#define DEFINE_ENUM_LIST(class_name, function_name, enum_name) k##enum_name,
+#define DEFINE_ENUM_LIST(class_name, function_name, enum_name, fp) k##enum_name,
RECOGNIZED_LIST(DEFINE_ENUM_LIST)
#undef DEFINE_ENUM_LIST
};
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698