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

Unified Diff: runtime/vm/method_recognizer.h

Issue 683433003: Integrate the Irregexp Regular Expression Engine. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: formatting and removed binds-in-args Created 6 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
Index: runtime/vm/method_recognizer.h
diff --git a/runtime/vm/method_recognizer.h b/runtime/vm/method_recognizer.h
index 13af21986a860bdb818702b8222b3837dd9e46b0..c574121e27ca3cbe1d44909a7992d5ecaf9c2bda 100644
--- a/runtime/vm/method_recognizer.h
+++ b/runtime/vm/method_recognizer.h
@@ -198,6 +198,12 @@ namespace dart {
V(_TwoByteString, ==, TwoByteString_equality, 951149689) \
+// TODO(zerny): Remove this list and add _ExecuteMatch to
+// CORE_LIB_INTRINSIC_LIST once JSCRE has been removed.
+#define CORE_REGEXP_LIB_INTRINSIC_LIST(V) \
Ivan Posva 2014/11/24 06:49:02 Is this special handling still needed now that the
zerny-google 2014/11/24 13:07:03 Not needed any more. Folded it into CORE_LIB_INTRI
+ V(_JSSyntaxRegExp, _ExecuteMatch, JSRegExp_ExecuteMatch, 1654250896)
+
+
#define CORE_INTEGER_LIB_INTRINSIC_LIST(V) \
V(_IntegerImplementation, _addFromInteger, Integer_addFromInteger, \
438687793) \
@@ -300,6 +306,7 @@ namespace dart {
#define ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \
CORE_LIB_INTRINSIC_LIST(V) \
+ CORE_REGEXP_LIB_INTRINSIC_LIST(V) \
MATH_LIB_INTRINSIC_LIST(V) \
TYPED_DATA_LIB_INTRINSIC_LIST(V) \
PROFILER_LIB_INTRINSIC_LIST(V)
@@ -321,6 +328,8 @@ namespace dart {
V(_TypedList, get:length, TypedDataLength, 522565357) \
V(_GrowableList, get:length, GrowableArrayLength, 778505107) \
V(_StringBase, get:length, StringBaseLength, 784399628) \
+ V(_GrowableList, add, GrowableListAdd, 1899133961) \
+ V(_GrowableList, removeLast, GrowableListRemoveLast, 1274907639) \
V(ListIterator, moveNext, ListIteratorMoveNext, 210829138) \
V(_FixedSizeArrayIterator, moveNext, FixedListIteratorMoveNext, 1147271335) \
V(_GrowableList, get:iterator, GrowableArrayIterator, 1812933946) \

Powered by Google App Engine
This is Rietveld 408576698