Index: runtime/vm/snapshot.cc |
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc |
index 95ad4e6d6a2f80da60a70f70077c9d7ac6c8b925..ea0dce38e500901d107bd7242abed7717da02cf2 100644 |
--- a/runtime/vm/snapshot.cc |
+++ b/runtime/vm/snapshot.cc |
@@ -1065,8 +1065,8 @@ RawWeakProperty* SnapshotReader::NewWeakProperty() { |
} |
-RawJSRegExp* SnapshotReader::NewJSRegExp() { |
- ALLOC_NEW_OBJECT(JSRegExp); |
+RawRegExp* SnapshotReader::NewRegExp() { |
+ ALLOC_NEW_OBJECT(RegExp); |
} |